Commit Graph

673 Commits

Author SHA1 Message Date
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
fullwall
7c8b136e1d Add /npc command expcost 2021-11-01 20:56:54 +08:00
fullwall
57adea419a Null check missing world 2021-10-30 15:53:49 +08:00
fullwall
21e924f04c equalsIgnoreCase in /npc owner 2021-10-20 18:40:49 +08:00
fullwall
25f341ef63 /npc owner [name] supported again 2021-10-13 17:56:22 +08:00
fullwall
4ecf09050a Drop owner string from Owner trait 2021-10-12 20:42:57 +08:00
fullwall
780899cbad Make /npc chunkload persistent by default 2021-10-10 23:19:43 +08:00
fullwall
18423134fa Trial fix for duplicate UUID spawned 2021-09-27 01:36:23 +08:00
fullwall
3d3de6576d Use onPreSpawn event to avoid 'FOUC' in armorstands. Fix invulnerable ticks being reduced too quickly. 2021-09-23 14:12:44 +08:00
fullwall
620cda6542 Check hologram height on spawn properly 2021-09-21 17:24:13 +08:00
fullwall
49559e26bc HologramTrait now alters hologram height if name visibility is toggled 2021-09-21 16:12:15 +08:00
fullwall
db825cce72 Add rough impl of SneakTrait 2021-09-20 20:59:54 +08:00
fullwall
004c46ab76 Extra plugin disabled check 2021-09-18 15:35:13 +08:00
fullwall
cffb0519e0 Add backcompat code 2021-09-17 20:32:41 +08:00
fullwall
cdb7cbba4a Fix chunk tickets being removed when Citizens is disabled, return correct NPC entity in HologramTrait 2021-09-17 19:04:52 +08:00
fullwall
7952600382 Add simple chunk ticketing system for pathfinding 2021-09-09 18:21:00 +08:00
fullwall
9f856f0565 Check currentLoc status 2021-09-05 14:59:19 +08:00
fullwall
11c48c4e09 Check isSpawned in HologramTrait#onSpawn 2021-08-27 17:30:27 +08:00
fullwall
14a6004adf Cap skinupdatetracker map size 2021-08-20 21:22:46 +08:00
fullwall
732716215e Make hologram trait update more frequently 2021-08-15 15:25:09 +08:00
fullwall
ef1baf5679 Add setMountedOn to MountTrait 2021-08-15 14:40:11 +08:00
fullwall
1ef3e6b56b Save to disk on dependent plugin disable 2021-07-25 08:52:03 +08:00
fullwall
9904e034fd Make plugin disable hack more conservative 2021-07-21 18:51:04 +08:00
fullwall
cfa4b5fc59 Delete unused files 2021-07-19 23:03:04 +08:00