Commit Graph

1012 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
cb6f8be7fc Add /npc packet 2023-03-02 23:08:03 +08:00
fullwall
c22916bb70 Use new method 2023-03-01 23:05:25 +08:00
fullwall
ef9220b5fd When-player-within rather than when_player_within 2023-03-01 00:21:08 +08:00
fullwall
fc66909ae0 isNavigating() considers paused status 2023-02-27 22:05:19 +08:00
fullwall
8235ed160f PICKUP_ITEMS now defaults to false rather than isProtected 2023-02-26 15:51:59 +08:00
fullwall
960e1036b4 Minor formatting change 2023-02-23 23:58:23 +08:00
fullwall
63f1013d46 Try fix controllable / sit trait issues 2023-02-23 23:52:27 +08:00
fullwall
5087ffb4bf Must be spawned for /npc equip 2023-02-22 23:17:16 +08:00
fullwall
d76841c319 Try harder to pause wander goal during editor 2023-02-22 01:03:41 +08:00
fullwall
585df3f696 Add simple /npc pausepathfinding command 2023-02-21 23:59:33 +08:00
fullwall
e140883287 Fix minor typo 2023-02-21 23:06:11 +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
6f754d2594 Add basic /wp remove command 2023-02-18 15:24:09 +08:00
fullwall
c31624fba3 Ensure boss bar progress between 0 and 1 2023-02-18 01:23:42 +08:00
fullwall
27991c94f0 Fix commandaction grant not respecting op/server 2023-02-16 00:27:04 +08:00
fullwall
a09a54d4da Use teleportcause 2023-02-15 07:19:20 +08:00
fullwall
22e1821f24 Cancel item despawns for item NPCs 2023-02-15 06:02:00 +08:00
fullwall
dc384e42f8 Add some debug to shops saving 2023-02-15 05:36:51 +08:00
fullwall
e9c989bc55 Add /npc panda -n -r for rolling and sneezing 2023-02-14 23:26:21 +08:00
fullwall
9bf3194710 Add per-line margin to hologram lines for items 2023-02-14 23:19:45 +08:00
fullwall
f64e28f2e8 Simplify boundingbox api 2023-02-14 00:30:03 +08:00
fullwall
871c7c0259 More code refactoring 2023-02-13 22:20:13 +08:00
fullwall
3ae6c29493 Fix npcselector getBlockData error 2023-02-13 20:34:00 +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
142931a86d Simplify skinupdatetracker 2023-02-11 10:47:31 +08:00
fullwall
dddabd13b8 Actually not an off by one 2023-02-10 23:44:54 +08:00
fullwall
0f6842991b Fix off by one command nUsed 2023-02-10 23:42:57 +08:00
fullwall
41ca21a131 Check world first in skin trackers 2023-02-10 21:13:32 +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
bbfbc767dc Reorder npc update() 2023-02-08 21:06:10 +08:00
fullwall
8ba9d2ceb6 Reorder update() method 2023-02-06 23:28:00 +08:00
fullwall
504a38317c Add --distance argument 2023-02-06 00:43:42 +08:00
fullwall
a61befbdcc Add basic /npc home command 2023-02-06 00:40:01 +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
f759c81763 Check NPC spawned 2023-02-02 18:48:27 +08:00
fullwall
b21af8dd6e Trial delaying scoreboard removal on death 2023-02-01 23:15:28 +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
126d4f9519 Fix /npc text talk delay message 2023-01-19 21:42:22 +08:00
fullwall
52955febf1 Add null check for A* finder, clone itemstacks in drop trait 2023-01-19 18:11:42 +08:00
fullwall
72c136e97a Add /npc aggressive 2023-01-16 23:54:21 +08:00
fullwall
367cbd330f Replace NPC names in Placeholders rather than Chat trait 2023-01-16 23:39:59 +08:00
fullwall
8ad3a14b7c Check papi/plib enabled 2023-01-07 23:08:37 +08:00