Commit Graph

542 Commits

Author SHA1 Message Date
fullwall
80187501d0 Check lookclose new target from event 2021-01-23 10:52:53 +08:00
fullwall
351cee2cc6 Implement new event 2021-01-20 22:10:47 +08:00
fullwall
eb9764aeb0 Further refactor lookclose 2021-01-20 20:27:46 +08:00
fullwall
fe3f12e424 Refactor lookclose findNewTarget 2021-01-20 19:52:02 +08:00
fullwall
8c0fa7cd17 Comparison should be squared 2021-01-20 17:49:43 +08:00
fullwall
58443ee726 Make lookclose more consistent at looking at players 2021-01-20 17:34:24 +08:00
fullwall
3f4a4af581 Change permissions defaults to op 2021-01-19 19:41:24 +08:00
fullwall
e6eac4e675 Fix push events with listeners 2021-01-17 07:05:35 +08:00
fullwall
5821416f90 Update pom version 2021-01-16 18:06:12 +08:00
fullwall
cc3d8f84c7 Fix double sending of command messages with LINEAR execution 2021-01-15 22:06:03 +08:00
fullwall
918fcb9ca7 Fix skin trait and text bugs 2021-01-15 19:00:30 +08:00
fullwall
261ac1b4b1 Check texture data is actually valid 2021-01-10 23:52:24 +08:00
fullwall
97fae0a7e4 Add UUID to /npc 2021-01-04 00:18:34 +08:00
fullwall
c366b5f79e Add missing Util changes 2021-01-03 00:14:00 +08:00
fullwall
37e6414b13 Fix some off-by-one errors 2021-01-02 20:25:29 +08:00
fullwall
0b1a8cc369 Null check for skinname 2020-12-29 14:25:12 +08:00
fullwall
1ae074278e Leave editor 2020-12-28 11:12:16 +08:00
fullwall
87a4c3f6c4 Fix memory leak 2020-12-28 11:04:14 +08:00
fullwall
21163e4ec4 Add placeholder support for skins 2020-12-28 10:39:56 +08:00
fullwall
cc5c132347 Arm swing on player sees player-npc, not spawn 2020-12-28 08:24:30 +08:00
fullwall
284565598e Trial a new method for fixing spawn body yaw, fix /npc rename not applying hologram name immediately 2020-12-27 20:54:21 +08:00
fullwall
79f048fe0c Implement new metadata for /wp disableteleport 2020-12-26 17:01:27 +08:00
fullwall
b9e6418d52 Add new debug-chunk-loads setting 2020-12-24 19:03:21 +08:00
fullwall
aa136420c8 Make initial skin packet delay configurable 2020-12-24 19:00:35 +08:00
fullwall
09c482e2f6 Check skin name length is 3-16 characters when fetching players 2020-12-21 17:32:30 +08:00
fullwall
4c33fa4f86 Add worldguard region support to wander waypoint provider 2020-12-21 17:27:52 +08:00
fullwall
ec1a639d08 Add workaround for new CraftSound changes 2020-12-21 11:28:38 +08:00
Camotoy
91fcad1499
Fix llamas not being controllable with '/npc controllable' (#2412)
Llamas are looped in with horses for certain traits (such as having an inventory) but not in movement. This commit excludes llamas from the `updateHorizontalSpeed` check as they cannot be controlled in vanilla.

Tested with 1.12.2 and 1.16.4.
2020-12-21 11:08:44 +08:00
fullwall
fe7f6e373f Add /npc polarbear -r and restore target and goal selectors 2020-12-17 13:13:23 +08:00
fullwall
040930bcde Add /npc command --gcooldown 2020-12-16 18:12:37 +08:00
fullwall
1266298442 Allow straight line navigator to track entity exactly 2020-12-16 17:59:20 +08:00
fullwall
87cadbfb02 Wrong index for /trait remove 2020-12-02 22:16:04 +08:00
fullwall
0b79c392b0 Some plugins rely on specific metadata ordering 2020-11-27 23:31:21 +08:00
fullwall
b4943a0e84 Fix some bugs in straight line targeter 2020-11-27 22:45:13 +08:00
fullwall
2f10ac86cc Avoid caching empty paths 2020-11-24 20:34:22 +08:00
fullwall
4491e95952 Reload holograms with line height change 2020-11-23 07:48:26 +08:00
fullwall
810441c17b Add new setting and implement parameter 2020-11-22 21:29:55 +08:00
fullwall
fb0591c187 Implement new APIs 2020-11-22 21:08:01 +08:00
fullwall
9310dde3f0 Add new navigation strategy without pathfinding 2020-11-20 19:11:26 +08:00
fullwall
353251acc6 Strip colors when checking for text emptiness 2020-11-17 11:39:24 +08:00
fullwall
59d4f7033c Hide nameplates for empty hologram names 2020-11-17 11:36:18 +08:00
fullwall
3c2d0625b4 Clone spawn location more, minor cleanup 2020-11-17 10:15:52 +08:00
fullwall
da5a611014 Add --registry arg to /npc select 2020-11-17 09:12:41 +08:00
fullwall
0add70d397 Add spawnreason to debug 2020-11-17 09:09:52 +08:00
fullwall
e29f05156d Add setLocked to Age 2020-11-17 09:04:24 +08:00
fullwall
1e050bb89d Name Citizens save and load tasks for timings 2020-11-15 20:32:16 +08:00
fullwall
1eddabe8c0 Allow /npc follow to teleport across worlds 2020-11-15 17:43:26 +08:00
fullwall
7743763d3c Refactor common code, add missing condition 2020-11-14 18:41:21 +08:00
fullwall
d3002965fd Cleanup 2020-11-13 10:31:55 +08:00
fullwall
0c36ea04a7 Reset hologram if now empty 2020-11-07 15:10:49 +08:00