Commit Graph

61 Commits

Author SHA1 Message Date
fullwall
248e9de2e6 Fix NPCs constantly trying to swim, relicense to LGPL 2023-03-06 00:28:44 +08:00
fullwall
98e95b6ffb Block ignition for protected creepers 2023-03-02 22:52:31 +08:00
fullwall
8235ed160f PICKUP_ITEMS now defaults to false rather than isProtected 2023-02-26 15:51:59 +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
224ffc7fc5 Delay allay reset packets 2023-02-21 23:08:18 +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
420005c6aa Add isPushable implementations for 1.17-1.19 2023-02-19 00:55:16 +08:00
fullwall
5bc6b07f4a Further Allay syncing 2023-02-16 22:30:44 +08:00
fullwall
31193735f1 Clearing offhand seems to work even better for allays 2023-02-16 00:10:55 +08:00
fullwall
9cebd487f7 Need to set zza 2023-02-14 00:47:57 +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
fe4434de91 Don't clear uuid version 2023-02-09 21:09: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
ba04e4b05f Fix phantom bugs 2023-02-05 15:25:29 +08:00
fullwall
2a64529bb1 Further tweaks to using item animations 2023-02-03 00:24:02 +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
e828782be6 Snowman performance change 2023-01-27 01:54:13 +08:00
fullwall
72c136e97a Add /npc aggressive 2023-01-16 23:54:21 +08:00
fullwall
ffac34f734 Fix player ticking 2023-01-05 22:51:42 +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
fullwall
e21681fa26 Add /npc hitbox, WIP packet NPCs 2023-01-03 20:55:27 +08:00
fullwall
36feecdc2b Fix sneak animation 2023-01-01 20:44:17 +08:00
fullwall
b4280103c1 Simplify PlayerUpdateTask 2023-01-01 18:15:10 +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
a669a8a256 Workaround protocollib not supported listed boolean, fix dolphins moving while on ground, add /npc bossbar --range, add /npc create --nameplate --temporaryticks 2022-12-29 23:26:02 +08:00
fullwall
c11da48fc2 Set nophysics flag on setGameMode 2022-12-28 23:14:41 +08:00
fullwall
4590193673 Upgrade skull saving 2022-12-27 13:07:12 +08:00
fullwall
7577a049d9 Check for floodgate players 2022-12-27 10:39:19 +08:00
fullwall
27603afdf4 Add /npc mirror for skins 2022-12-25 01:37:54 +08:00
fullwall
4c958b5e7c Fix custom name components in 1.8.8-1.12.2, 2022-12-22 23:17:28 +08:00
fullwall
d94cd006ec Send arm swing after tablist 2022-12-19 22:08:58 +08:00
fullwall
8d202aa988 Implement metadata 2022-12-19 00:36:53 +08:00
fullwall
e90096eebe Add /npc spellcast 2022-12-18 23:21:08 +08:00
fullwall
2e3ba077cf Fix viabackwards on 1.19.3 2022-12-18 23:07:04 +08:00
fullwall
3ee17c6dae Fix /npc camel and /npc llama 2022-12-18 22:18:12 +08:00
fullwall
c6e7ce65f5 Add /npc camel, minor code cleanup 2022-12-18 13:25:08 +08:00
fullwall
33b6e6eb37 Don't forward registration calls in entity registry 2022-12-18 11:53:26 +08:00
fullwall
249074c7bc Fix /npc text pages, add via version backcompat 2022-12-17 11:22:14 +08:00
fullwall
f90b1f747b Implement more methods for custom entity registry 2022-12-16 21:02:49 +08:00
fullwall
d44cebdcfd Make custom entity registry forcibly unfrozen as suggested in #2947 2022-12-16 20:44:26 +08:00
fullwall
ab458f4de9 May as well set name to empty component 2022-12-14 23:29:12 +08:00