Commit Graph

99 Commits

Author SHA1 Message Date
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
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
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
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
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
9facad1b2a Initial 1.20 update 2023-06-08 22:37:50 +08:00
fullwall
2466677cc3 Add workaround for async entity tracker server forks 2023-06-08 20:53:38 +08:00
fullwall
bdd995197a Return to using arm swings to update entity yaw 2023-05-04 01:48:58 +08:00
fullwall
69b6509a0e Send player look packets for older versions 2023-05-01 01:13:51 +08:00
fullwall
406bea7b53 Trial removing arm swing in favour of manual position packets 2023-04-30 00:18:24 +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
71ecc7086b Implement playerfilter api 2023-04-17 01:47:32 +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
efff2ff9ab Add /npc enderdragon --destroywalls 2023-03-29 20:01:07 +08:00
fullwall
84c581dd09 Allow on the fly /npc trackingrange 2023-03-27 02:52:56 +08:00
fullwall
82030a6534 Implement pitchable look control 2023-03-25 23:22:46 +08:00
fullwall
5a0184c585 Backport armor stand movement to 1.18.2 2023-03-19 22:03:45 +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
b02a3d8766 Implement player filtering, replace all entity trackers, compatibility update for async entity tracking 2023-03-07 23:58:03 +08:00
fullwall
248e9de2e6 Fix NPCs constantly trying to swim, relicense to LGPL 2023-03-06 00:28:44 +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
d35dcb8ae7 Trial teleporting players directly without calling PlayerTeleportEvent 2023-02-21 22:56:50 +08:00
fullwall
679873c7d4 Added a name update delay 2023-02-20 23:34:12 +08:00
fullwall
bd50e42c52 Get rid of a second stack overflow 2023-02-14 00:46:30 +08:00
fullwall
c66a5b53ad Fix fluid push stack overflow 2023-02-14 00:19:45 +08:00
fullwall
871c7c0259 More code refactoring 2023-02-13 22:20:13 +08:00
fullwall
ad218261ff Code size reduction 2023-02-13 21:25:26 +08:00
fullwall
8f43ca70e5 Fix bug in item parsing for holograms, allow arbitrary bounding boxes for BoundingBoxTrait, attempt to unify common code across NMS implementations 2023-02-13 20:32:20 +08:00
fullwall
b0a2c51883 Fix /npc mirror with uuid change 2023-02-11 22:52:53 +08:00
fullwall
7244834e34 Make NPCs more likely to swim, add speed setting in water 2023-02-08 22:07:15 +08:00
fullwall
3b00f7718b Refactoring, add debug for shop trait onRemove(), add at argument for PlayerAnimation waypoint trigger 2023-01-31 22:50:25 +08:00
fullwall
c258ad1b9a Send entity teleport packet instead of look only for packet sessions, remove from tablist 2023-01-29 22:15:32 +08:00
fullwall
72c136e97a Add /npc aggressive 2023-01-16 23:54:21 +08:00
fullwall
98c5c48c23 Implement new API 2023-01-05 20:05:15 +08:00
fullwall
ffef42efb7 Packet NPCs now properly spawn, fix NPE in new pathfinder, fix 1.8.8 compatibility with /npc shop 2023-01-04 23:02:33 +08:00