Commit Graph

127 Commits

Author SHA1 Message Date
fullwall
0c046a00b1 Fix glowitemframes 2024-01-17 23:04:41 +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
543baf7fb8 Block gold ingot interaction with piglins for protected npcs 2023-11-27 22:51:16 +08:00
fullwall
81cce42a93 Implement new event 2023-11-15 22:39:09 +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
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
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
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
751e2a28ac Misc small changes 2023-10-29 02:09:08 +08:00
fullwall
1fa3b22c57 Properly forward slime jump to move controller in 1.17+ 2023-10-23 18:32:34 +08:00
fullwall
9d9b3c4349 Micro optimisations 2023-10-15 21:57:13 +08:00
fullwall
ea34a18ebe Remove viaversion from pom 2023-10-15 11:47:20 +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
85e46c6324 Try to avoid async issues with entity trackers 2023-08-30 00:35:21 +08:00
fullwall
db6058bbd0 Reimplement hologram display entities using interaction entities as suggested by Owen1212055 2023-08-28 01:49:14 +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
c0be235538 Send an extra headrotation packet since spigot resets head rotation now, make some protocollib methods async, bump avoid-water costs by one block 2023-07-08 21:36:04 +08:00
fullwall
5b5811cfea Fix /npc item parsing behavior 2023-07-04 00:45:37 +08:00
fullwall
309b1d7b65 Implement NPCPistonPushEvent 2023-06-25 22:37:30 +08:00
fullwall
46f4444c10 Implement new PlayerFilter method, async-friendly chunk trackers 2023-06-25 21:58:09 +08:00
fullwall
6d6cc40efa Make REQUIRES_SYNC volatile 2023-06-23 02:32:49 +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
3cb63f5ab5 Reduce allocation pressure from fluid push 2023-06-17 15:46:07 +08:00
fullwall
9704f1493c Implement new push / knockback events 2023-06-12 21:20:51 +08:00
fullwall
ff736ebd4b Backport some Llama controllable changes, minor camel fixes 2023-06-12 09:47:03 +08:00
fullwall
9facad1b2a Initial 1.20 update 2023-06-08 22:37:50 +08:00
fullwall
f164494cde Make registry type less specific in 1.19.4 to try and be more compatible with arclight 2023-06-08 21:09:15 +08:00
fullwall
2466677cc3 Add workaround for async entity tracker server forks 2023-06-08 20:53:38 +08:00
fullwall
8ce9ec357c Check for attack damage attribute for mob attacks 2023-05-29 01:01:08 +08:00
fullwall
513a6c7cce Use new duration option 2023-05-14 22:54:45 +08:00
fullwall
0eb997be33 Set container title in anvilmenu 2023-05-10 23:58:31 +08:00
fullwall
bdd995197a Return to using arm swings to update entity yaw 2023-05-04 01:48:58 +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
6b4ef37a46 Backport entitytrackerentry changes to fix duplicate tablist adds 2023-05-03 23:30:37 +08:00
fullwall
69b6509a0e Send player look packets for older versions 2023-05-01 01:13:51 +08:00
fullwall
8b1550dc43 Adjust RotationTrait head yaw cone 2023-05-01 00:18:57 +08:00
fullwall
0899a5fab7 Increase rot packet delay 2023-04-30 01:55:57 +08:00
fullwall
dacaa921b6 Trial sending rot packet on spawn 2023-04-30 01:17:52 +08:00
fullwall
406bea7b53 Trial removing arm swing in favour of manual position packets 2023-04-30 00:18:24 +08:00
fullwall
d69f17cd06 Temporarily change sendRotationNearby to use PosRot instead of TeleportEntity 2023-04-28 00:31:40 +08:00
fullwall
89e8c37818 Fix hurt animation in 1.19.3 2023-04-27 20:10:45 +08:00
fullwall
0b82ee214e Default allow to entity head pitching. 2023-04-25 21:26:57 +08:00
fullwall
ef5cd29448 Packet NPC fixes 2023-04-20 21:16:56 +08:00
fullwall
fe0abfdcb5 Add /npc panda -e 2023-04-20 01:35:44 +08:00
fullwall
71ecc7086b Implement playerfilter api 2023-04-17 01:47:32 +08:00
fullwall
5bb73b3a95 Partially restore uuid version reset code 2023-04-16 02:21:30 +08:00
fullwall
fcb0c7d953 Tweak how equipment updates are detected 2023-04-11 00:10:45 +08:00
fullwall
ef34ed2837 Fix a scoreboard issue when renaming NPCs 2023-04-08 14:24:16 +08:00
fullwall
d6ffa085a0 Add guided waypoint msg 2023-04-03 22:40:04 +08:00
fullwall
f88c2771a8 Use armor stands for holograms 2023-03-30 23:13:38 +08:00
fullwall
d8b7a37543 More ender dragon fixes 2023-03-30 01:08:04 +08:00
fullwall
efff2ff9ab Add /npc enderdragon --destroywalls 2023-03-29 20:01:07 +08:00
fullwall
9b7a6e0a65 Check for enderdragon death 2023-03-29 02:23:44 +08:00
fullwall
c171e3f29b Sync ender dragon parts 2023-03-29 00:30:56 +08:00
fullwall
a1281c391f Remove indirection 2023-03-27 22:26:20 +08:00
fullwall
84c581dd09 Allow on the fly /npc trackingrange 2023-03-27 02:52:56 +08:00
fullwall
4f0cf51cbd Fix inappropriate double AI updating for parrots/warden 2023-03-26 13:51:26 +08:00
fullwall
bafc6df000 Delay protocollib loading 2023-03-26 13:28:23 +08:00
fullwall
82030a6534 Implement pitchable look control 2023-03-25 23:22:46 +08:00
fullwall
4a55753409 Improve triggers editor. 2023-03-25 21:49:30 +08:00
fullwall
9cff1afb28 Refactoring to allow armor stands to move 2023-03-19 21:48:40 +08:00
fullwall
f269019d56 Don't use text displays for holograms 2023-03-19 16:14:53 +08:00
fullwall
904d83de43 Fix incorrect controller for item/text display 2023-03-19 01:27:13 +08:00
fullwall
b35c815629 Fix no such method error on severely outdated minecraft versions, add InteractionController 2023-03-15 18:44:30 +08:00
fullwall
299f781308 Initial 1.19.4 update. Of note: sniffers are known to not be working 2023-03-15 03:37:05 +08:00