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
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
5fffa23e94
Add packet update delay setting
2022-01-02 01:22:35 +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
db825cce72
Add rough impl of SneakTrait
2021-09-20 20:59:54 +08:00
fullwall
3d85ad4ea8
Add /npc chunkload
2021-05-07 01:46:59 +08:00
fullwall
c7789e5073
Remove extra NPCDespawnEvent
2021-04-05 16:38:10 +08:00
mariaum
0b41b24425
Fix blank names for a few seconds after spawning a npc. ( #2477 )
2021-02-22 19:27:06 +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
0b79c392b0
Some plugins rely on specific metadata ordering
2020-11-27 23:31:21 +08:00
fullwall
3c2d0625b4
Clone spawn location more, minor cleanup
2020-11-17 10:15:52 +08:00
fullwall
0add70d397
Add spawnreason to debug
2020-11-17 09:09:52 +08:00
fullwall
12b796afa3
Add extra spawning debug
2020-10-12 21:58:26 +08:00
fullwall
9e0b8d1c5a
Fix hologram names with non-player NPCs
2020-10-08 21:06:45 +08:00
fullwall
7450c4db45
Use new getOrAddTrait methodf
2020-09-14 17:57:58 +08:00
fullwall
2a8f54f2d6
Move movement code into playerTick to avoid inter-world crashes
2020-07-27 17:14:57 +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
c8898b52e3
Add always-use-name-holograms
2020-07-18 19:08:10 +08:00
fullwall
57373a68a3
Don't teleport if despawned
2020-07-15 23:50:48 +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
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
ea20cdb21e
Fix duplication of name hologram
2020-07-09 23:37:45 +08:00
fullwall
b5e59585e3
If NPC is already despawned count that as a valid despawn
2020-07-08 19:26:00 +08:00
fullwall
ed141532a8
Don't store hashcode goal selector
2020-07-06 23:28:14 +08:00
fullwall
0a58215541
Use holograms instead of scoreboard for names
2020-07-06 16:37:34 +08:00
fullwall
c7ab1a8407
Copy getStoredLocation/getLocation
2020-06-28 18:05:04 +08:00
fullwall
d8b3b1c2c0
Add event to spawning debug
2020-06-28 17:36:24 +08:00
fullwall
0b922011bd
Rework tablist for recent versions
2020-05-12 23:12:39 +08:00
fullwall
5e2a7efb9e
Revert view distance tracking code
2020-05-12 22:33:54 +08:00
fullwall
0498353751
Update tablist after teleport
2020-05-12 22:13:22 +08:00
fullwall
e6cf9b8b08
Clean up multiworld permission check for /npc tphere and don't respawn NPCs who were spawned for another reason
2020-05-04 16:21:34 +08:00
Alex "mcmonkey" Goodwin
2c24671ae3
simplify scoreboard patch to be 100% packet based ( #2129 )
...
* simplify scoreboard patch to be 100% packet based
which fixes edge case client errors
* fix edge cases of respawning and multinpc boards
2020-05-01 17:49:25 +08:00
fullwall
16c418415b
Cleanup, reduce number of packets per packet update cycle
2020-05-01 17:49:03 +08:00
fullwall
8336fe1b7c
Fix load bug in body yaw
2020-04-30 23:11:45 +08:00
fullwall
8109a90440
Fix saving of body vs head yaw
2020-04-30 19:11:56 +08:00
fullwall
32429f140d
Run clientside player ticking at a different time
2020-04-29 20:56:39 +08:00
fullwall
fe8eb4e85d
Change how npc looking works
2020-04-25 16:57:31 +08:00
fullwall
8779062a82
Initialise location cache
2020-03-28 01:51:53 +08:00
fullwall
4cc3c40c87
SpawnReason.COMMAND should try to load the destination spawn location
2020-03-28 01:20:20 +08:00
fullwall
947f4301f3
Set head yaw when teleporting NPCs
2020-03-28 01:14:11 +08:00
fullwall
f0000cdf3b
Allow placeholder API in /npc create, fix float persistence bug
2020-03-27 18:50:14 +08:00
fullwall
1cd8e1913e
Add head yaw persistence
2020-03-21 18:30:52 +08:00
fullwall
1e507a1d57
Use old logic for glowing colour in 1.12, remove unnecessary respawn in /npc rename for non-Player NPCs
2020-03-21 15:19:46 +08:00
fullwall
496a4cbb3b
Use Minecraft's no gravity logic and enable it for all default flying NPCs
2020-03-02 14:51:54 +08:00
fullwall
95ab688877
Fix shulker color setting
2020-03-01 15:29:47 +08:00
fullwall
d64876dd65
Temp test fix for spawning
2019-10-03 21:33:06 +08:00
fullwall
d72b6ef9e8
Change isSpawned API to use old valid logic. May fix spawning issues.
2019-10-03 13:14:20 +08:00
fullwall
51984323dc
Fix rename issue
2019-07-23 22:04:36 +08:00
fullwall
673ee02542
Migrate glowing stuff to new scoreboard trait, add /npc scoreboard
2019-07-12 15:39:38 +08:00
fullwall
f767c2bbd1
Fix /npc glowing --color
2019-07-12 14:48:10 +08:00
fullwall
d0b358a27c
Change /npc mount permission, force chunk load on spawning due to chunk load
2019-06-12 21:06:06 +08:00
fullwall
e7cba79e1a
Add a proper 1.14 solution for KEEP_CHUNKS_LOADED
2019-05-29 16:45:18 +08:00
fullwall
483c25f11a
Add new commands for new 1.14 API
2019-05-07 20:02:14 +08:00
fullwall
cc7d3ae85f
Refactor and bugfix customNameUpdate
2019-04-26 18:20:34 +08:00
mariaum
7d7bf356de
Improve 1.8 performance by not just catching exceptions. ( #1697 )
2019-03-08 00:12:29 +08:00
Alex "mcmonkey" Goodwin
05abc9299c
Fix spawn chunk NPC loading issues, fixes #1332 ( #1625 )
...
Some misplaced code unintentionally caused chunks to load in the middle of the startup sequence (after NPCs refused to spawn in the chunk, but before the server was fully started), meaning any chunk that normally loads within a few seconds of startup would be loaded already at that time, meaning a chunk load event never fires, and thus any NPCs at that location simply don't spawn in until the chunk is allowed to naturally unload and is later loaded again.
2018-11-30 22:34:47 +08:00
fullwall
505ef8a926
Use new spawnreason
2018-08-08 16:08:38 +08:00
fullwall
0d5d5c4ac6
Check for null world in spawn
2018-07-24 19:52:35 +08:00
fullwall
d2a0aa637b
Remove debug code
2018-06-30 12:56:31 +08:00
fullwall
23f03c1fd8
Add PlayerAnimation.START_ELYTRA
2018-06-29 22:35:13 +08:00
fullwall
958d1de863
Update CitizensNPC.java
2018-04-10 11:20:29 +08:00
fullwall
4c99dc0e7c
Initial 1.8.8 support
2018-04-07 16:02:35 +08:00
fullwall
72ac9134b1
Allow minecraft to remove NPCs on death instead of going through Citizens
2018-02-13 17:18:15 +08:00
fullwall
f33804609e
Add -l flag to /npc spawn and add /npc metadata
...
Add /npc remove --owner
2018-01-01 14:41:10 +08:00
fullwall
1bd3b7e0e8
Don't use empty scoreboard team names
2016-12-14 16:26:19 +08:00
fullwall
e3981a15a6
Implement debug NavigatorParameter and change some Player yaw code
2016-12-10 19:53:55 +08:00
fullwall
2f7e4ea786
Add -h option to /npc name
2016-11-22 15:41:51 +08:00
fullwall
dccfadb846
Fixes for 1.11
2016-11-17 17:00:16 +08:00
fullwall
0189157400
First pass at 1.11
2016-11-17 15:53:41 +08:00
fullwall
7cb434db21
Small optimisations
2016-08-25 19:40:58 +08:00
fullwall
95261e4548
Unchange where tracker replacement happens
2016-08-21 21:53:08 +08:00
fullwall
e344158ff4
Change where tracker replacement happens
2016-08-20 13:38:04 +08:00
fullwall
449a7bd46a
Convert to multi module
2016-08-03 19:19:24 +08:00