Commit Graph

257 Commits

Author SHA1 Message Date
fullwall
efb590c45b Make tracker replacement more durable at the cost of adding a custom filter to all entity classes. Also fixes early player tracker replacement in 1.20.6 and above 2024-08-26 01:02:07 +08:00
fullwall
bce7baced9 Fix impossible cast in old versions of minecraft 2024-08-25 19:07:04 +08:00
fullwall
ad6b47348c Add /npc collidable --fluids and backport fluid pushable to <1.13. 2024-07-08 00:35:03 +08:00
fullwall
4ba83dd520 Add quotes around commands 2024-07-06 22:13:27 +08:00
fullwall
089ffe0dfe Update tracking range on seen 2024-07-06 16:49:10 +08:00
fullwall
8cc2f0ea48 Use new inventoryview abstraction 2024-06-26 21:12:28 +08:00
fullwall
20ea3e8723 Fix players not jumping in newer minecraft versions 2024-06-22 13:21:21 +08:00
fullwall
6eb9ae4235 Use new API, fix exp orb NPCs, make old waypoint markers use leash knot instead of eye of ender 2024-06-19 22:03:38 +08:00
fullwall
6bcae0f7dd Initial 1.21 update 2024-06-14 16:06:11 +08:00
fullwall
73d0698d36 Rework item action NBT matching 2024-04-24 18:38:59 +08:00
fullwall
70c40dcb22 Initial 1.20.5 update. TODO: refactor NBT to remove JNBT and work with trees instead 2024-04-24 05:34:31 +08:00
fullwall
edb4f78ceb Remove speed setting code in controllermove 2024-04-15 22:12:20 +08:00
fullwall
3563413c06 Fix anvil inventories in old minecraft versions 2024-04-06 20:34:28 +08:00
fullwall
9729e356a5 Add /npc wither --invulnerableticks command 2024-03-31 23:10:01 +08:00
fullwall
8696a5709e Use new API 2024-03-23 23:46:09 +08:00
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
8672b4b997 Revert previous change. Fix commandtrait charging for a cost of 0 2024-03-05 10:00:42 +08:00
fullwall
8be9da5f04 Trial manually calling aiStep for players with /npc ai turned on 2024-03-05 09:47:24 +08:00
fullwall
ed117eac96 Try to detect sneaking state onAttach for SneakTrait 2024-03-03 23:14:11 +08:00
fullwall
3a5b13c170 Cleanup, change packet tracker removal method (needs checking for geyser debug message) 2024-02-29 13:10:44 +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
8864d89791 Preliminary trader view support for /npc shop 2024-02-19 05:41:48 +08:00
fullwall
deded77f34 Add a setNavigationType NMS method 2024-01-29 22:24:43 +08:00
fullwall
8ca8c14f89 Reset packetrotationsession yaw to physical yaw on removal 2024-01-07 17:06:55 +08:00
fullwall
007c92f797 Consolidate body yaw implementations 2023-12-22 15:59:20 +08:00
fullwall
06b0e2d800 Don't set body yaw with head yaw 2023-12-11 23:17:34 +08:00
fullwall
a1e4255771 Redecompile 1.20.2 minecraft pathfinder 2023-12-01 23:43:58 +08:00
fullwall
81cce42a93 Implement new event 2023-11-15 22:39:09 +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
1a8246bb88 Implement JumpPowerSupplier metadata 2023-11-01 01:49:01 +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
d17ca61e6e Implement event, and use it to link hologram display entity. unify some old tracker implementations. WIP implementation of unified player linking 2023-10-30 01:37:00 +08:00
fullwall
1fa3b22c57 Properly forward slime jump to move controller in 1.17+ 2023-10-23 18:32:34 +08:00
fullwall
627811ca7a Don't downcast to Set since some forks change collection type 2023-10-22 10:51:35 +08:00
fullwall
05048be1f7 Initial 1.20.2 update 2023-10-01 17:27:38 +08:00
fullwall
c994315060 MOdified method signature 2023-09-20 21:52:53 +08:00
fullwall
c447b0d277 Backport some horse fixes 2023-08-27 19:21:11 +08:00
fullwall
8719c1f182 Implement new metadata 2023-08-06 18:57:42 +08:00
fullwall
115b0af3af Use bukkit methods to kill fish hook 2023-07-27 19:11:19 +08:00
fullwall
d0abea6dd5 Implement getters and setters in wander waypoint goal 2023-07-10 02:58:23 +08:00
fullwall
309b1d7b65 Implement NPCPistonPushEvent 2023-06-25 22:37:30 +08:00
fullwall
6d5f881b91 Tweak /npc sound command to allow arbitrary sounds (as long as they are registered with NMS) 2023-06-19 20:55:16 +08:00
fullwall
0acda96bff Clear the old tracker before replacing it 2023-06-18 17:33:09 +08:00
fullwall
130dc42e5f Use new method 2023-06-18 17:07:08 +08:00
fullwall
3571c05d9d Reduce NPCSeenByPlayerEvent allocations 2023-06-17 22:00:26 +08:00
fullwall
9facad1b2a Initial 1.20 update 2023-06-08 22:37:50 +08:00
fullwall
513a6c7cce Use new duration option 2023-05-14 22:54:45 +08:00