Commit Graph

47 Commits

Author SHA1 Message Date
fullwall e6f8a47f36 Add config comments, remove subplugins, remove NPCEnderTeleportEvent 2023-03-15 01:41:24 +08:00
fullwall 8235ed160f PICKUP_ITEMS now defaults to false rather than isProtected 2023-02-26 15:51:59 +08:00
fullwall 61fd34df0b Reformat pom 2023-02-23 00:06:13 +08:00
fullwall 8fa5a965e1 Fix logic error in allay reset, code cleanup 2023-02-23 00:00:47 +08:00
fullwall ffac34f734 Fix player ticking 2023-01-05 22:51:42 +08:00
fullwall b8e79b20cf Implement API, check for invalid Player references, remove Text min/max-cooldown settings and fix Text delay/right click cancellations, make SitTrait work with npc#teleport 2023-01-01 15:26:35 +08:00
fullwall c11da48fc2 Set nophysics flag on setGameMode 2022-12-28 23:14:41 +08:00
fullwall b8050199f1 Add per-player rotation API 2022-11-28 23:10:50 +08:00
fullwall ed9230c680 Implement knockback event 2022-11-13 23:33:18 +08:00
fullwall 35245a580b Fix /npc pickupitems message and for players, null casing for /npc panimate START_SLEEPING 2022-11-10 21:31:32 +08:00
fullwall 73689cf9c2 Widen navigating definition 2022-11-07 23:30:39 +08:00
fullwall 98c2d3492a Add /npc piglin --dancing 2022-07-07 23:34:15 +08:00
fullwall 36cbef81a7 Fix dropstrait, allow player hurt/death sound to be set 2022-06-24 12:43:23 +08:00
fullwall 8694603c85 Refactor PlayerControllerLook into RotationTrait 2022-04-25 02:22:39 +08:00
fullwall 3685d33980 Add /npc bossbar --track and fix equipment caching logic 2022-04-23 13:42:48 +08:00
fullwall 908e678135 entityBaseTick should update some variables 2022-03-10 03:12:43 +08:00
fullwall 626b6d6b42 Allow NPCs to push other entities 2022-02-20 21:21:50 +08:00
fullwall 7683516d62 Avoid setting NPC.COLLIDABLE_METADATA on Player NPCs 2022-01-20 17:10:52 +08:00
fullwall 5fffa23e94 Add packet update delay setting 2022-01-02 01:22:35 +08:00
fullwall 840f32469b First pass at fall damage 2021-10-25 00:22:19 +08:00
fullwall 15f57c4970 Add null checks 2021-01-24 20:51:12 +08:00
fullwall 9cbc1c6bd8 Send equipment packets when equipment changes 2021-01-24 19:25:59 +08:00
fullwall 0a6b1235db Reduce jar size by refactoring push event 2021-01-03 00:09:21 +08:00
fullwall 7743763d3c Refactor common code, add missing condition 2020-11-14 18:41:21 +08:00
fullwall dffbf60465 Simplify inBlock check to avoid chunk loading 2020-11-14 17:27:54 +08:00
fullwall 7450c4db45 Use new getOrAddTrait methodf 2020-09-14 17:57:58 +08:00
fullwall 0c7dd3b4f0 Set default invulnerability ticks to 0 2020-09-01 23:51:17 +08:00
fullwall 45907da2d7 Hologram bugfixes 2020-08-11 22:47:45 +08:00
fullwall b902879ca6 Fix gravity 2020-08-08 15:21:54 +08:00
fullwall 2a8f54f2d6 Move movement code into playerTick to avoid inter-world crashes 2020-07-27 17:14:57 +08:00
fullwall 16c418415b Cleanup, reduce number of packets per packet update cycle 2020-05-01 17:49:03 +08:00
fullwall 32429f140d Run clientside player ticking at a different time 2020-04-29 20:56:39 +08:00
fullwall 80011eed41 Revamp SkinnableEntity into SkinTrait 2020-04-19 02:07:03 +08:00
Alex "mcmonkey" Goodwin 221eb4b8d5 Fix for client NPE issue - don't missend player spawn packets (#1525)
* Fix #1360 - don't missend player spawn packets

Player spawn packets were improperly sent by the Minecraft internals in early NPC spawn sequence, when they are not valid to be sent yet. This patch blocks their sending until the tracker system is pushed onto the NPC. Tested and functional.

* improve long name cutting order, fixes #1422

ensures that root name will always be 16 characters if the given name was too long - previously, the root name could be as small as a single character (for input name of 17 characters).
2018-06-28 23:51:41 +08:00
fullwall f33804609e Add -l flag to /npc spawn and add /npc metadata
Add /npc remove --owner
2018-01-01 14:41:10 +08:00
fullwall ffbedcd841 Implement a rudimentary setSkinPersistent API 2017-10-19 00:27:27 +08:00
fullwall c02fec9ca0 Set noclip for spectator NPCs 2017-06-09 20:27:44 +08:00
fullwall 4235e72cc1 Remove subscription to bukkit broadcast 2017-06-08 19:37:57 +08:00
fullwall cf5beab4c5 Add immediate parameter to Util.faceLocation and fix a bug in it 2016-12-16 17:03:11 +08:00
fullwall 86d6794b43 Fix Minecraft 1.10 player looking 2016-12-10 20:20:27 +08:00
fullwall 974cb61a43 Clamp yaw and update some yaw-related variables 2016-11-26 23:07:25 +08:00
fullwall deffc24bb7 Fix NPE, add MountTrait, fix 1.10 looking 2016-11-26 11:28:29 +08:00
fullwall b695afdcd5 Fix mob NPC not using pitch 2016-11-22 16:04:48 +08:00
fullwall 7cb434db21 Small optimisations 2016-08-25 19:40:58 +08:00
fullwall 95261e4548 Unchange where tracker replacement happens 2016-08-21 21:53:08 +08:00
fullwall e344158ff4 Change where tracker replacement happens 2016-08-20 13:38:04 +08:00
fullwall 449a7bd46a Convert to multi module 2016-08-03 19:19:24 +08:00