fullwall
cd436cb6da
"/npc select" should respect clickredirects
2021-02-02 22:33:16 +08:00
fullwall
e03d65aeb4
Add /npc command itemcost
2021-02-01 22:35:28 +08:00
fullwall
f776638508
Add enderman equipment GUI
2021-01-31 23:40:42 +08:00
fullwall
f1c2fcbe37
Add new pig equipper GUI
2021-01-31 18:29:44 +08:00
fullwall
47707fe628
Implement inventory GUI into /npc equip
2021-01-31 00:29:27 +08:00
fullwall
0ded25ad5e
Implement new change
2021-01-29 00:15:43 +08:00
fullwall
0499839115
Fix navigation bug with duplicate examiners, add change detection to scoreboard to avoid sending as many packets
2021-01-27 22:38:50 +08:00
fullwall
66a3855aa8
Update to match current API
2021-01-26 23:28:38 +08:00
fullwall
8e31baf202
Edit equipment GUI
2021-01-25 23:47:43 +08:00
fullwall
6c2f5fa65a
Remove extra check
2021-01-25 21:30:48 +08:00
fullwall
ac106a6c50
Add line of sight check to lookclose
2021-01-25 21:30:07 +08:00
fullwall
60db622b68
Add debug code
2021-01-24 22:42:51 +08:00
fullwall
13195612cf
Limit should default false
2021-01-24 22:08:43 +08:00
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
fullwall
ba00c91a30
Remove path properly
2020-11-04 16:42:55 +08:00
fullwall
10e1576496
Don't measure distance between worlds
2020-11-03 14:36:44 +08:00
fullwall
55922168d2
1.16.4 initial update
2020-11-03 14:33:34 +08:00
fullwall
9ff38f0080
Make citizens.npc.talk default true
2020-10-27 01:31:18 +08:00
fullwall
e8cdba65df
Fix /npc hologram remove off by one
2020-10-26 17:20:09 +08:00
fullwall
cac35409c9
Check for command message setting being empty
2020-10-21 15:18:07 +08:00
fullwall
a944c3ca9c
Make mob entity uuids the same as their NPC uuid
2020-10-18 18:32:33 +08:00
fullwall
8cdda471b9
Prevent concurrent modification issue with NPC spawning
2020-10-15 20:30:50 +08:00
fullwall
7dba144924
Use MONITOR priority for NPCSpawnEvent
2020-10-15 20:21:15 +08:00
fullwall
5081b713a8
For completeness, work with stacked waypoints
2020-10-14 15:16:40 +08:00
fullwall
e10af76e45
Showing markers by default
2020-10-14 15:14:49 +08:00
fullwall
10ec4b2c29
Fix conversation abandoned event
2020-10-14 15:12:41 +08:00
fullwall
4f345dddc1
Give an extra block's worth of leeway to /npc path reaching the destination
2020-10-13 21:51:52 +08:00
fullwall
de74b21dd7
Fix up some messages with the waypoint editor
2020-10-13 19:51:53 +08:00
fullwall
306a448a48
Remove editing slot from linear waypoint editor, make showing points the default and adjust messages to explain this
2020-10-13 18:52:45 +08:00
fullwall
c46362b02d
Just use the slower but safer remove option
2020-10-12 23:04:12 +08:00
fullwall
9eb254215f
Add preventing spawn debug
2020-10-12 22:49:09 +08:00
fullwall
675eaffad5
Prevent chunk load respawning with SpawnReason.PLUGIN
2020-10-12 22:24:44 +08:00
fullwall
12b796afa3
Add extra spawning debug
2020-10-12 21:58:26 +08:00
fullwall
13dee3570f
Add messages for chat waypoint trigger
2020-10-12 21:10:49 +08:00
fullwall
4591b9e3a9
Fix rightclicking markers in /npc path
2020-10-12 21:00:23 +08:00
fullwall
6a3382c5ce
Insert in proper position
2020-10-12 20:45:47 +08:00
fullwall
1d314fba7a
Append waypoints in the waypoint editor
2020-10-12 20:44:11 +08:00
fullwall
b2f841a40e
Fix shulker bullets with lookclose on
2020-10-12 14:10:23 +08:00
fullwall
b20113e1f1
Make flying A* use the new iterations per tick settings
2020-10-10 21:40:33 +08:00
fullwall
9e0b8d1c5a
Fix hologram names with non-player NPCs
2020-10-08 21:06:45 +08:00
fullwall
38dfb0e42c
Looking for the closest block to the ground when targeting entities
2020-10-08 13:26:41 +08:00
fullwall
27b0bc107c
Generate getters for trait methods
2020-10-07 19:16:41 +08:00
fullwall
8f009d5598
Add /npc ai command
2020-10-05 15:59:14 +08:00
fullwall
84ec48078d
Add global settings for command error messages
2020-10-05 12:18:19 +08:00
fullwall
f5dc673948
Fix /npc command sequential
2020-10-03 15:40:53 +08:00
fullwall
ace484636a
Add /npc pathto
2020-09-17 23:31:44 +08:00
fullwall
7450c4db45
Use new getOrAddTrait methodf
2020-09-14 17:57:58 +08:00
fullwall
450bff76ec
Fix protect setting for followtrait
2020-09-14 17:39:49 +08:00
fullwall
d334d86f3d
Make shulker bullet the default marker type
2020-09-11 16:35:15 +08:00
fullwall
52f8044cd5
Update to 1.16.3
2020-09-11 09:29:42 +08:00
fullwall
11b161e216
Destroy wander markers
2020-09-10 21:23:25 +08:00
fullwall
5d2d6b7e4d
Move marker code to sync
2020-09-10 20:48:18 +08:00
fullwall
934f94e137
Add setting for max minecraft pathfinder fall distance
2020-09-05 15:13:34 +08:00
fullwall
7d10e25da5
Fix condition in entityportalevent
2020-08-30 17:00:33 +08:00
fullwall
0a9aaef54e
Add setting
2020-08-28 22:55:29 +08:00
fullwall
9f3da308e3
Don't save commands directly to avoid yaml key issues
2020-08-12 23:40:44 +08:00
fullwall
a5d2010c41
Initial 1.16.2 update
2020-08-12 22:21:12 +08:00
fullwall
73250c300a
Allow /npc hologram set to add not set
2020-08-11 22:57:32 +08:00
fullwall
45907da2d7
Hologram bugfixes
2020-08-11 22:47:45 +08:00
fullwall
2f6395884a
Make /npc tphere center and cursor work consistently
2020-08-10 18:02:35 +08:00
fullwall
21b2908e83
Remove team metadata
2020-08-09 13:04:46 +08:00
fullwall
9d50055d6f
Only players can use scoreboard teams at the moment
2020-08-08 22:34:49 +08:00
fullwall
d579fcbb53
Add cursor argument and center flag to /npc tphere
2020-08-03 20:30:50 +08:00
fullwall
d46aad717f
Backport boat movement to 1.15
2020-07-27 17:42:30 +08:00
fullwall
8639c0ab27
Add /npc hologram direction
2020-07-27 17:34:07 +08:00
fullwall
2a8f54f2d6
Move movement code into playerTick to avoid inter-world crashes
2020-07-27 17:14:57 +08:00
fullwall
5bfe08ecfb
Rudimentary movement strategy for non-living entities
2020-07-27 15:56:42 +08:00
fullwall
e8c57acac1
Add boat movement to 1.16, include ID in default selection message
2020-07-27 10:44:13 +08:00
fullwall
62e44c25ed
Armor stands shouldn't have holograms even if the setting is enabled
2020-07-22 01:30:07 +08:00
fullwall
5907c1c8b2
Make /npc tphere include the coordinates it was teleported to
2020-07-22 00:54:49 +08:00
fullwall
be592d1f54
setInvulnerable doesn't exist on old minecraft versions
2020-07-21 20:59:54 +08:00
fullwall
7081002f1f
Add some error messages for invalid /npc hologram commands
2020-07-21 11:15:05 +08:00
fullwall
ac9d7035e1
Init anonymous registry list
2020-07-18 21:18:53 +08:00
fullwall
155df40dcb
Make getNPCRegistries() return anonymous registries too, make default registry name static
2020-07-18 21:10:55 +08:00
fullwall
c8898b52e3
Add always-use-name-holograms
2020-07-18 19:08:10 +08:00
fullwall
b571debec1
Add -s(ilent) flag to /npc create
2020-07-18 01:00:23 +08:00
fullwall
65aa07a09d
Null check
2020-07-17 12:35:36 +08:00
fullwall
b14f0bac9c
Redirect left/right clicks for hologram NPCs
2020-07-17 09:52:00 +08:00
fullwall
f973fdde9c
Remove unused quickselect setting
2020-07-16 23:55:09 +08:00
fullwall
57373a68a3
Don't teleport if despawned
2020-07-15 23:50:48 +08:00
fullwall
0036c9d6a2
Fix /npc command random
2020-07-15 20:19:43 +08:00
fullwall
4e26f52252
Go back to including metrics directly
2020-07-12 11:49:48 +08:00
fullwall
0feb1462ef
Reduce default new finder iterations
2020-07-11 13:14:45 +08:00
fullwall
c60e18bd87
teleport should check cross-world
2020-07-11 00:44:40 +08:00
fullwall
f3986ec9cc
Update custom name status immediately on spawn
2020-07-11 00:38:27 +08:00
fullwall
aaa45ea72e
Paper seems to prefer despawning immediately
2020-07-10 15:13:53 +08:00
fullwall
0586f2ab89
Vehicles shouldn't use LookAirController
2020-07-10 14:04:53 +08:00
fullwall
429264dbf0
Fix Boolean parsing issue
2020-07-10 12:28:39 +08:00
fullwall
652a68a79d
Respect name visibility properly
2020-07-10 12:19:29 +08:00
fullwall
44b6da408d
Simplify marker removal
2020-07-09 23:43:27 +08:00
fullwall
ea20cdb21e
Fix duplication of name hologram
2020-07-09 23:37:45 +08:00
fullwall
cb676c4b19
Implement new event
2020-07-08 23:52:42 +08:00
fullwall
b5e59585e3
If NPC is already despawned count that as a valid despawn
2020-07-08 19:26:00 +08:00
fullwall
202c2487a6
Allow selecting by NPC uuid (global)
2020-07-08 12:18:49 +08:00
fullwall
3ecd3300ce
Add location cloning to setTarget and Waypoint
2020-07-07 22:22:34 +08:00
fullwall
29e6e20feb
Add /npc hologram clear
2020-07-07 01:07:01 +08:00
fullwall
ed141532a8
Don't store hashcode goal selector
2020-07-06 23:28:14 +08:00
fullwall
002b2b61ff
Also cancel push event if not collidable
2020-07-06 21:48:57 +08:00
fullwall
c68ba08f9d
Fix missing change
2020-07-06 21:27:48 +08:00
fullwall
0a58215541
Use holograms instead of scoreboard for names
2020-07-06 16:37:34 +08:00
fullwall
d333c98823
Refactor getHeight for NMS
2020-07-06 08:42:46 +08:00