Commit Graph

696 Commits

Author SHA1 Message Date
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
97d4c3b117 Make nonliving entities look at entities too, fix /npc lookclose with shulkers spamming noises 2022-02-20 21:56:51 +08:00
fullwall
626b6d6b42 Allow NPCs to push other entities 2022-02-20 21:21:50 +08:00
fullwall
65c7e7c28c Also make guided waypoints reset when chagned 2022-02-20 11:19:05 +08:00
fullwall
b56a1f85e1 When changes to the API waypoints list are made they should be reflected in the waypoints goal 2022-02-20 11:13:46 +08:00
fullwall
ecbab327ed Fix some bugs 2022-02-20 10:04:09 +08:00
fullwall
b1b5704145 Cancel move destination on navigation stop 2022-02-20 01:31:13 +08:00
fullwall
be019c0e83 Refactor blockbreaker, add /npc blockbreak 2022-02-20 01:05:38 +08:00
fullwall
87d27c09dc Don't reset custom name (TBC if 1.8.8 is affected) 2022-02-19 20:27:41 +08:00
fullwall
6fd6d12092 Update held item status every tick 2022-02-19 19:00:09 +08:00
fullwall
b12ae2ee66 Improve underwater pathfinding, cleanup 2022-02-19 18:26:37 +08:00
fullwall
b26dfb3d0f Implement new PathStrategy method, improve swimming navigation 2022-02-19 16:36:31 +08:00
fullwall
208b1c9ca2 Add extra info to /npc command 2022-02-19 14:36:45 +08:00
fullwall
aacff7b45a Add rudimentary /npc undo, some misc cleanup 2022-02-19 13:35:16 +08:00
fullwall
984ce6d9e7 Improve underwater mobs staying in place 2022-02-16 17:36:03 +08:00
fullwall
bf56a6dcb2 Add glowing for non-player characters, stop 1.8.8 noDamageTicks from going down too fast 2022-02-15 01:35:07 +08:00
fullwall
a29fb3059a Add /npc useitem 2022-02-15 00:57:22 +08:00
fullwall
88ab30840b Add debug to chunk load tracking, clarify charging logic in commands 2022-02-15 00:40:24 +08:00
fullwall
5bf9fdc6c9 Make NavigatorParameters#run run consistently 2022-02-13 21:39:22 +08:00
fullwall
676590f5fe Fix /npc command gcooldown 2022-02-13 17:33:44 +08:00
fullwall
3ca65765a3 Fix first time players 2022-02-11 18:46:11 +08:00
fullwall
c60085eade Waypoint markers should be spawned at the actual location now 2022-02-07 19:03:21 +08:00
fullwall
bef0f16f3b Cancel current move destination when navigator paused 2022-02-02 21:40:19 +08:00
fullwall
5c3878d2f8 Implement destinationTeleportMargin. Tweak pathfinding in an attempt to fix minecraft navigation issues with players. Expect changes. 2022-01-29 14:56:29 +08:00
fullwall
cbfd57e9c0 Fix logic error for offlineplayers 2022-01-28 18:01:54 +08:00
fullwall
927d27e09c List profession/rabbit type values using the pretty formatter 2022-01-27 10:48:52 +08:00
fullwall
7683516d62 Avoid setting NPC.COLLIDABLE_METADATA on Player NPCs 2022-01-20 17:10:52 +08:00
fullwall
b5a2c30476 Enhance /npc metadata 2022-01-17 15:45:04 +08:00
fullwall
1ee92a07ea Implement cross-world teleporting for NPCs 2022-01-16 14:05:23 +08:00
fullwall
c702e19828 Implement metadata on examiner side, relax distance margin for minecraft movement 2022-01-15 21:00:18 +08:00
fullwall
23c4779404 Set exp level for /npc command expcost rather than exp % 2022-01-12 02:01:30 +08:00
fullwall
83022b05ab Delete old code 2022-01-06 19:25:35 +08:00
fullwall
e4ca2f2922 addWaypoint method for LWP 2022-01-06 19:25:01 +08:00
fullwall
bf3bf6f776 Add /npc llama -c/b 2022-01-02 01:33:19 +08:00
fullwall
5fffa23e94 Add packet update delay setting 2022-01-02 01:22:35 +08:00
fullwall
85cf761933 Further micro-optimisation 2021-12-29 00:42:20 +08:00
fullwall
19ee0e2c19 Use metadata and track players if on the playerlist which should make mobs spawn nearby 2021-12-28 20:13:25 +08:00
fullwall
750f8e2e4c Implement helper methods and allow hologram lines to be items 2021-12-27 23:59:21 +08:00
Fredthedoggy
13f7961556
SkinTrait should only update if the Placeholder changes (#2703)
* Make SkinTrait only update when required

* Add back skinName check
2021-12-12 22:44:36 +08:00
fullwall
81404b4d41 Initial update to 1.18.1 2021-12-11 11:15:00 +08:00
fullwall
d1a1e7d3c2 Add placeholderAPI to pom for javadoc 2021-12-05 11:37:15 +08:00
fullwall
22fe84831e Initial 1.18 update 2021-12-01 22:56:22 +08:00
fullwall
6b30d06705 Set collidable scoreboard option and always test for placeholders in skin names 2021-11-29 20:56:13 +08:00
fullwall
3da3cc2ae8 Fix /npc villager --profession error message, more sane boundingbox calculation 2021-11-27 12:19:19 +08:00
fullwall
caff1e9ba4 As a safety measure limit maxY <0.6D 2021-11-21 22:14:01 +08:00
fullwall
61c6863d5f Trial collision box checking for pathfinding to assist with half blocks - needs testing especially with doors 2021-11-21 22:12:17 +08:00
fullwall
3d1d2ef222 Add missing flags for /npc endercrystal 2021-11-20 23:46:09 +08:00
fullwall
968f3fd68b Add /npc command hideerrors 2021-11-19 23:32:28 +08:00
fullwall
78824a341e Update existing hologram npcs in setLine 2021-11-19 23:18:24 +08:00
fullwall
b55407c696 Send npc command selector text using Citizens messaging 2021-11-18 22:47:09 +08:00