Commit Graph

116 Commits

Author SHA1 Message Date
fullwall
309b1d7b65 Implement NPCPistonPushEvent 2023-06-25 22:37:30 +08:00
fullwall
130dc42e5f Use new method 2023-06-18 17:07:08 +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
5ef99250e4 Reset UUIDs to version 2 on old minecraft versions 2023-04-16 02:25:51 +08:00
fullwall
fcb0c7d953 Tweak how equipment updates are detected 2023-04-11 00:10:45 +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
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
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
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
bd50e42c52 Get rid of a second stack overflow 2023-02-14 00:46:30 +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
fe4434de91 Don't clear uuid version 2023-02-09 21:09:53 +08:00
fullwall
e828782be6 Snowman performance change 2023-01-27 01:54:13 +08:00
fullwall
ffac34f734 Fix player ticking 2023-01-05 22:51:42 +08:00
fullwall
e21681fa26 Add /npc hitbox, WIP packet NPCs 2023-01-03 20:55:27 +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
c11da48fc2 Set nophysics flag on setGameMode 2022-12-28 23:14:41 +08:00
fullwall
46b18eee49 Run cleanup 2022-12-10 13:31:11 +08:00
fullwall
b243d9698c Use npc.isProtected() 2022-12-10 13:29:05 +08:00
fullwall
c935caa140 Remove some dead code 2022-12-03 21:02:59 +08:00
fullwall
ede598cc9b Fix some issues with ShopTrait item costs/results and add NBT filter API. Adjust /npc item to be more flexible. 2022-12-03 18:21:46 +08:00
fullwall
b8050199f1 Add per-player rotation API 2022-11-28 23:10:50 +08:00
fullwall
d9c55b97b0 Implement cancellable variant 2022-11-14 23:53:14 +08:00
fullwall
ed9230c680 Implement knockback event 2022-11-13 23:33:18 +08:00
fullwall
35245a580b Fix /npc pickupitems message and for players, null casing for /npc panimate START_SLEEPING 2022-11-10 21:31:32 +08:00
fullwall
73689cf9c2 Widen navigating definition 2022-11-07 23:30:39 +08:00
fullwall
d04ea81225 WIP fix for NPCs not despawning properly 2022-10-17 01:17:32 +08:00
fullwall
03e757d411 Fix wither arrow shield typo 2022-09-15 01:01:48 +08:00
fullwall
1ccc2eae6d Adjust /npc wither charged -> invulnerable, add arrow-shield 2022-09-08 13:28:14 +08:00
fullwall
5dbc578fd2 Integrate team creation directly into ScoreboardTrait 2022-07-25 23:14:00 +08:00
fullwall
b28348ec52 Cleanup 2022-07-22 16:40:18 +08:00
fullwall
4dfac9c62d Remove team unregistering to ScoreboardTrait, add scoreboard-teams send ticks to assist with a possible scoreboard conflict 2022-07-13 20:09:21 +08:00
fullwall
98c2d3492a Add /npc piglin --dancing 2022-07-07 23:34:15 +08:00
fullwall
36cbef81a7 Fix dropstrait, allow player hurt/death sound to be set 2022-06-24 12:43:23 +08:00
fullwall
8694603c85 Refactor PlayerControllerLook into RotationTrait 2022-04-25 02:22:39 +08:00
fullwall
3685d33980 Add /npc bossbar --track and fix equipment caching logic 2022-04-23 13:42:48 +08:00
fullwall
908e678135 entityBaseTick should update some variables 2022-03-10 03:12:43 +08:00
fullwall
897c511757 Fix dragon yaw and make it same as rider yaw. Refactor out redundant calculation of yaw 2022-02-20 22:34:29 +08:00
fullwall
626b6d6b42 Allow NPCs to push other entities 2022-02-20 21:21:50 +08:00