Commit Graph

53 Commits

Author SHA1 Message Date
fullwall 4bfededf7a Add food ticking for players if /npc ai is enabled, update player pose and xp ticks 2024-03-05 10:47:37 +08:00
fullwall 7f306216dc Fix off by one error in entity equipment updating in 1.8.8 2024-02-21 23:31:17 +08:00
fullwall 06b0e2d800 Don't set body yaw with head yaw 2023-12-11 23:17:34 +08:00
fullwall 07fb13c284 Add /npc hologram viewrange, add /npc playerfilter --applywithin, work towards auto-hologram-sneak 2023-11-05 20:58:37 +08:00
fullwall de885501cd Allow next page and previous page items to be set 2023-11-05 17:41:18 +08:00
fullwall c046404799 Run autoformatter 2023-11-05 16:35:22 +08:00
fullwall 1c4a743121 Consistent NPCLinkToPlayerEvent handling for 1.8.8 2023-11-03 00:06:41 +08:00
fullwall 401e34a4a3 Refactor PlayerAnimation to accept a collection of players rather than radius. Rework NPCLinkToPlayerEvent handling 2023-10-30 22:49:02 +08:00
fullwall 05048be1f7 Initial 1.20.2 update 2023-10-01 17:27:38 +08:00
fullwall 0b076b1a21 Players should push entities by default rather than use /npc collidable which is performing double duty 2023-05-04 01:20:57 +08:00
fullwall fcb0c7d953 Tweak how equipment updates are detected 2023-04-11 00:10:45 +08:00
fullwall f88c2771a8 Use armor stands for holograms 2023-03-30 23:13:38 +08:00
fullwall e6f8a47f36 Add config comments, remove subplugins, remove NPCEnderTeleportEvent 2023-03-15 01:41:24 +08:00
fullwall 74a861142b Add durations to settings, allow falling distance to be set for all mobs 2023-03-12 22:30:19 +08:00
fullwall 8235ed160f PICKUP_ITEMS now defaults to false rather than isProtected 2023-02-26 15:51:59 +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 75b3ec1ceb Catch NSME on network listener set 2022-12-20 21:35:51 +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 7d2a222143 Trial using runtime maven dependencies to reduce jar size 2022-11-13 12:50:45 +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 96a5889111 Trial change to knockback in 1.8.8 2022-03-10 03:38:08 +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 bf56a6dcb2 Add glowing for non-player characters, stop 1.8.8 noDamageTicks from going down too fast 2022-02-15 01:35:07 +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 3c5ba43b92 Backport to 1.8.8 too 2020-07-11 15:50:24 +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