Commit Graph

3124 Commits

Author SHA1 Message Date
fullwall
1f1b0debbe Despawn NPCs on chunk borders 2024-01-13 22:48:27 +08:00
fullwall
107e3b3296 More robust backwards compat 2024-01-13 14:05:57 +08:00
fullwall
cd25930373 Fix canSee(Entity) not existing on old minecraft versions 2024-01-13 14:02:12 +08:00
fullwall
8ca8c14f89 Reset packetrotationsession yaw to physical yaw on removal 2024-01-07 17:06:55 +08:00
fullwall
1416557ce3 Fix protocollib detection for /npc mirror 2024-01-02 23:31:02 +08:00
fullwall
007c92f797 Consolidate body yaw implementations 2023-12-22 15:59:20 +08:00
fullwall
d005c228ff Move PlayerShearEntityEvent handling to EventListen to cover for snowman 2023-12-22 04:15:00 +08:00
fullwall
4e4112d531 Bump adventure dependency 2023-12-22 02:21:18 +08:00
fullwall
ea2df83ca5 Avoid NPE for rotationtrait removal 2023-12-14 21:06:50 +08:00
fullwall
ccf4f6b085 Fix guided waypoint provider 2023-12-11 23:39:34 +08:00
fullwall
06b0e2d800 Don't set body yaw with head yaw 2023-12-11 23:17:34 +08:00
fullwall
50caa007e7 Preliminary update to 1.20.3 (adventure not yet updated) 2023-12-06 21:56:51 +08:00
fullwall
7d2b50be40 Missed messages file 2023-12-03 16:08:44 +08:00
fullwall
c81aa299fb Add /npc snowman -f to form snow 2023-12-03 12:33:46 +08:00
fullwall
e4fba63408 Fix template#getTemplates() 2023-12-03 01:16:34 +08:00
fullwall
49036e1967 Support FollowTrait on 1.8.8 2023-12-02 14:55:37 +08:00
fullwall
a1e4255771 Redecompile 1.20.2 minecraft pathfinder 2023-12-01 23:43:58 +08:00
fullwall
7a676e3420 Default sneaking in sneaktrait to true 2023-12-01 22:42:43 +08:00
fullwall
578b8d38c1 Remove metadata clearing code 2023-11-29 22:53:42 +08:00
fullwall
86b76e81fd Trial COW fix 2023-11-28 23:12:14 +08:00
fullwall
543baf7fb8 Block gold ingot interaction with piglins for protected npcs 2023-11-27 22:51:16 +08:00
fullwall
9764695899 Fix failed decompilation in minecraft pathfinder 2023-11-26 21:30:36 +08:00
fullwall
ffedf7c81f Add a component parse step to shop title 2023-11-26 02:28:45 +08:00
fullwall
7073bebc17 Move hologram metadata check to CitizensNPC 2023-11-25 04:20:43 +08:00
fullwall
258ac20a21 Adjust packet rotation 2023-11-21 23:30:11 +08:00
fullwall
3f47f5df90 Bump phtree version 2023-11-18 00:50:35 +08:00
fullwall
8693de6b5f Avoid copying 2023-11-17 01:59:18 +08:00
fullwall
145d6ce616 Trial a iteration performance tradeoff for PlayerUpdateTask 2023-11-17 01:33:46 +08:00
fullwall
3221019dda Update french and hebrew translations, thanks to Mulot and penguin for providing translations 2023-11-16 23:38:00 +08:00
fullwall
81cce42a93 Implement new event 2023-11-15 22:39:09 +08:00
fullwall
ad0f5caac5 Fix playeranimation on outdated minecraft versions 2023-11-07 23:43:48 +08:00
fullwall
7a229def7d Don't call chunkmap status updates if the playerlist wasn't modified 2023-11-06 22:01:51 +08:00
fullwall
15ee73f944 Add using templates metric 2023-11-05 21:04:01 +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
998484718f Only certain items require repeated use animations 2023-11-05 15:35:48 +08:00
fullwall
840ab30108 Don't cancel NPC - NPC mount events, NMS#mount uses optional boolean flag to force mount. /npc blockbreaker adds to NPC inventory by default 2023-11-05 02:03:57 +08:00
fullwall
a42812c4c4 Add /npc skin -s 2023-11-04 12:47:07 +08:00
fullwall
33955027ff Check destination world matches NPC world in guided AI goal 2023-11-03 01:50:21 +08:00
fullwall
4705cff283 Convert translations to json files 2023-11-03 01:45:12 +08:00
fullwall
1c4a743121 Consistent NPCLinkToPlayerEvent handling for 1.8.8 2023-11-03 00:06:41 +08:00
fullwall
8e4b9ce60d Record language rather than locale string 2023-11-01 23:58:49 +08:00
fullwall
24e7df6a18 Add delay to hologram linking 2023-11-01 22:29:47 +08:00
fullwall
1a8246bb88 Implement JumpPowerSupplier metadata 2023-11-01 01:49:01 +08:00
fullwall
2736f4ab53 Add sitting height offset correction check 2023-11-01 01:24:23 +08:00
fullwall
483b6565cd Adjust hologram mount strategy 2023-11-01 00:58:28 +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
751e2a28ac Misc small changes 2023-10-29 02:09:08 +08:00