fullwall
e89cd03cce
Fix bug with /npc command --n
2020-05-05 21:53:12 +08:00
fullwall
41a3673a9f
Make /npc pathopt more usable
2020-05-05 18:40:58 +08:00
Alex "mcmonkey" Goodwin
30f2dee4d7
Reduce potential for errors with packet teams ( #2138 )
...
* Reduce potential for errors with packet teams
Move scoreboard removal out of NMS to event method, and make more unique names
* remove unneeded isCancelled check
2020-05-05 18:20:56 +08:00
fullwall
92d3605e30
Change default talk item to *
2020-05-05 15:48:35 +08:00
fullwall
071225bcb9
Revert previous change
2020-05-04 21:10:47 +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
fullwall
a9ddebd8f8
Controllable should allow donkeys/mules to use horse physics, and delay skin respawning by a tick
2020-05-04 16:09:07 +08:00
fullwall
9a4c8e73c2
Micro optimisation
2020-05-03 02:06:33 +08:00
fullwall
5bb346e8c9
Remove cache persistence logic
2020-05-03 00:16:16 +08:00
fullwall
ba31206a4c
Add path caching to linear waypoint provider
2020-05-03 00:13:29 +08:00
fullwall
a1744f0e35
Prettify /npc command output a little bit
2020-05-01 20:07:22 +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
a2208f0d32
Minor style changes
2020-05-01 01:47:07 +08:00
Alex "mcmonkey" Goodwin
981ade8974
patch the majority of potential scoreboard packet errors ( #2128 )
2020-05-01 01:39:07 +08:00
fullwall
27f417113a
Simplify CitizensNPCRegistry
2020-05-01 00:51:05 +08:00
fullwall
01b3dbfd33
PlayerUpdateTask should now be run on 1.8.8
2020-05-01 00:40:27 +08:00
fullwall
2b94ad8959
Minor cleanup
2020-05-01 00:26:17 +08:00
fullwall
f33c745e19
Add controllable ground direction modifier setting
2020-04-30 23:45:06 +08:00
fullwall
8c1f636c19
Add controllable ground direction modifier setting
2020-04-30 23:40:40 +08:00
fullwall
8336fe1b7c
Fix load bug in body yaw
2020-04-30 23:11:45 +08:00
fullwall
521c1d3fda
Add /npc command permissions for temporary permissions during the command
2020-04-30 21:32:38 +08:00
fullwall
12ffd56981
Add delay argument to /npc command and add a builder-style API for creating new commands
2020-04-30 21:15:24 +08:00
Alex "mcmonkey" Goodwin
0e31ffb9f8
Implement packet-based scoreboard team enforcement ( #2127 )
...
* Implement packet-based scoreboard team enforcement
This should fix incompatibility with scoreboard plugins that break the main scoreboard
* impl to 1.8-1.12, move event logic, fix Setting usage
* pull setting if to outside of foreach loop
* fix return vs continue, minor opti as requested
2020-04-30 20:51:10 +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
bbf3f281eb
Fix portal removal timing
2020-04-29 19:18:16 +08:00
fullwall
a269bf1ccc
Revert entity looking changes for now
2020-04-26 21:28:51 +08:00
fullwall
d5667e53f5
Use new API
2020-04-26 12:53:00 +08:00
fullwall
dc72f7526c
Support bungee /server command in Citizens command
2020-04-25 19:10:49 +08:00
fullwall
fe8eb4e85d
Change how npc looking works
2020-04-25 16:57:31 +08:00
fullwall
f9b0397cab
Add --eid option to /npc remove
2020-04-22 23:46:36 +08:00
fullwall
a360810e8d
Pre-filter chunk unload entities
2020-04-22 20:25:17 +08:00
fullwall
4bbe797120
QoL change for /npc glowing --color to enable if not previously enabled
2020-04-22 18:00:15 +08:00
fullwall
5e431462e0
Try to remove any previous wander goals
2020-04-22 00:27:25 +08:00
fullwall
000fc19a40
Clear PhTree before recalculation
2020-04-22 00:24:18 +08:00
fullwall
2383e8f551
Further reduce default controllable speed
2020-04-21 23:04:39 +08:00
fullwall
655bdf0001
Change how NPC looking works so that body yaw matches head yaw after a tick
2020-04-21 22:24:13 +08:00
fullwall
06d8e92ff2
Cancel right click event if NPC has talked to someone
2020-04-20 21:44:50 +08:00
fullwall
0531fe859e
Implement new AI API for Minecraft 1.15.2, fix Squids
2020-04-20 17:38:56 +08:00
fullwall
725adb009f
Cast command cooldowns manually
2020-04-20 00:54:35 +08:00
fullwall
341f7b1990
Incorporate speed modifier into forward controllable speed and boost left/right speed
2020-04-19 18:07:49 +08:00
fullwall
0a8736b690
Add some basic javadoc to SkinTrait
2020-04-19 02:43:08 +08:00
fullwall
2c1ef04614
Migrate /npc skin properly and deprecate skinnable entity methods
2020-04-19 02:13:00 +08:00
fullwall
93af872e93
Ensure /npc skin works while not spawned
2020-04-19 02:09:46 +08:00
fullwall
80011eed41
Revamp SkinnableEntity into SkinTrait
2020-04-19 02:07:03 +08:00
fullwall
9090d1c69b
Fix lookclose target invalidation
2020-04-19 01:28:40 +08:00
fullwall
ecae2dbe8a
Make wander goal more random
2020-04-19 01:22:55 +08:00
fullwall
b546afa368
Better default skin name detection
2020-04-18 12:31:27 +08:00
fullwall
aaa6397a69
Add new API to avoid default skin fetching
2020-04-18 12:24:29 +08:00