Commit Graph

133 Commits

Author SHA1 Message Date
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
bd95e7d364 Remove some dead code 2020-03-01 15:33:48 +08:00
fullwall
87c2a884c5 Merge branch 'master' of github.com:CitizensDev/Citizens2 2020-03-01 15:30:00 +08:00
fullwall
95ab688877 Fix shulker color setting 2020-03-01 15:29:47 +08:00
fullwall
ad69b483db Add /npc snowman 2020-02-25 14:12:06 +08:00
fullwall
e52f616a4b Added sitting flag to /npc panda 2020-02-21 20:28:57 +08:00
fullwall
688f78ea6f Merge moduled trait code and discontinue building of 1.10 2019-12-12 00:13:54 +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
2d05ca134e Preliminary 1.14 update 2019-04-24 21:01:22 +08:00
fullwall
3682faebec Implement new API and fix an error from Paper 2019-02-05 18:12:02 +08:00
Alex "mcmonkey" Goodwin
221eb4b8d5 Fix for client NPE issue - don't missend player spawn packets (#1525)
* Fix #1360 - don't missend player spawn packets

Player spawn packets were improperly sent by the Minecraft internals in early NPC spawn sequence, when they are not valid to be sent yet. This patch blocks their sending until the tracker system is pushed onto the NPC. Tested and functional.

* improve long name cutting order, fixes #1422

ensures that root name will always be 16 characters if the given name was too long - previously, the root name could be as small as a single character (for input name of 17 characters).
2018-06-28 23:51:41 +08:00
fullwall
772ab5fb7b Add NMS.setPeekShulker to replace old method 2018-04-09 00:17:17 +08:00
fullwall
4c99dc0e7c Initial 1.8.8 support 2018-04-07 16:02:35 +08:00
fullwall
5f062dbb3a Fix horse/llama equipping 2018-03-15 16:41:30 +08:00
fullwall
73ff01c774 Add color to /npc shulker 2018-03-09 23:30:28 +08:00
fullwall
bf13181bd1 Add a NPE check to getVehicle 2018-03-02 00:39:05 +08:00
fullwall
476debfcd7 Make horse equipper more general 2018-02-03 08:56:09 +08:00
fullwall
c767b6fdc3 Support non-yggdrasil implementations of MinecraftSessionService 2018-01-29 16:26:26 +08:00
fullwall
15569c529f Add /npc shulker 2017-09-04 19:16:49 +08:00
fullwall
0e25c352a0 Try to aggressively stub out AdvancementDataPlayer 2017-08-24 19:50:04 +08:00
fullwall
59f67c02b9 Add /npc llama 2016-12-27 00:38:59 +08:00
fullwall
cf5beab4c5 Add immediate parameter to Util.faceLocation and fix a bug in it 2016-12-16 17:03:11 +08:00
fullwall
afb7e13ee6 Fix some issues with controllable 2016-12-11 17:12:29 +08:00
fullwall
86d6794b43 Fix Minecraft 1.10 player looking 2016-12-10 20:20:27 +08:00
fullwall
9329c66667 Fix bad getBukkitEntity if condition 2016-12-04 02:00:36 +08:00
fullwall
d968384d58 Clamp controller look yaw for entityinsentients as well 2016-11-26 23:25:59 +08:00
fullwall
b695afdcd5 Fix mob NPC not using pitch 2016-11-22 16:04:48 +08:00
fullwall
765c42cb45 Modify EntityTypes hooks to be less invasive 2016-11-22 01:00:52 +08:00
fullwall
dccfadb846 Fixes for 1.11 2016-11-17 17:00:16 +08:00
fullwall
5f473ee4cd Small fixes 2016-09-07 18:05:06 +08:00
fullwall
b1afe0de03 Work on navigation 2016-08-12 21:08:34 +08:00
fullwall
c0a3f0b1de Implement new API 2016-08-08 17:26:27 +08:00
fullwall
449a7bd46a Convert to multi module 2016-08-03 19:19:24 +08:00