Commit Graph

52 Commits

Author SHA1 Message Date
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
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
a269bf1ccc Revert entity looking changes for now 2020-04-26 21:28:51 +08:00
fullwall
fe8eb4e85d Change how npc looking works 2020-04-25 16:57:31 +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
0531fe859e Implement new AI API for Minecraft 1.15.2, fix Squids 2020-04-20 17:38:56 +08:00
fullwall
80011eed41 Revamp SkinnableEntity into SkinTrait 2020-04-19 02:07:03 +08:00
fullwall
14ebf26935 Try to avoid water more 2020-04-08 23:59:49 +08:00
fullwall
1cd8e1913e Add head yaw persistence 2020-03-21 18:30:52 +08:00
fullwall
9f3841c3ec Fix /npc name in 1.8.8 2020-03-03 23:31:04 +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
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
de94185133 Fix turtle navigation between biomes 2020-02-21 23:50:35 +08:00
fullwall
e52f616a4b Added sitting flag to /npc panda 2020-02-21 20:28:57 +08:00
fullwall
2d2b796b12 Reduce base horse movement speed 2020-02-16 17:18:12 +08:00
fullwall
688f78ea6f Merge moduled trait code and discontinue building of 1.10 2019-12-12 00:13:54 +08:00
fullwall
ff9c920df3 Initial 1.15 support 2019-12-11 11:25:10 +08:00
fullwall
d0dcb235b3 Various fixes and features 2019-11-28 16:10:35 +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
79ab0b4cba Extend fixes to other horse types 2019-07-02 01:28:40 +08:00
fullwall
7cb7b36507 Improve /npc controllable with horses 2019-07-02 01:22:15 +08:00
fullwall
2caadf5bad Stop fish from flopping 2019-07-01 17:16:06 +08:00
fullwall
b66fe9d18a Fix dolphins, pufferfish error and phantom looking 2019-07-01 16:47:36 +08:00
fullwall
65cbb8850f Support java 12 2019-05-16 17:50:59 +08:00
fullwall
68e5fb2570 Fix javadoc pom and reformat other poms 2019-05-13 16:44:50 +08:00
mcmonkey
3d893d81d0
bump maven plugins, use ECJ for 1.14 compile 2019-04-25 17:57:54 -07:00
fullwall
c75218e966 Bugfixes 2019-04-25 16:42:07 +08:00
fullwall
ae96a02e49 Fix backwards compat issue with 1.13.2 2019-04-25 14:41:45 +08:00
fullwall
2d05ca134e Preliminary 1.14 update 2019-04-24 21:01:22 +08:00
mcmonkey
fe69d6c0b8
(BREAKING) initial patch for 1.13 NMS repatch 2019-03-16 20:36:45 -07:00
fullwall
3682faebec Implement new API and fix an error from Paper 2019-02-05 18:12:02 +08:00
Alex "mcmonkey" Goodwin
a21d16c581 (experimental) fix for #1569 turtle NPC navigation issues (#1644)
* (experimental) fix for #1569 turtle NPC navigation issues

* (for turtle issue) remove the stray field and set the internal field instead
2018-12-26 14:03:08 +08:00
Alex "mcmonkey" Goodwin
9e0b4e0ab9 Improve handling of NPC names, fixes #1640 (#1642)
* Improve handling of NPC names, fixes #1640

Moves the logic to a Util method (instead of duplicated in each module), and adds the "prefixColors" portions (replacing just a static 'RESET' code).
If colors and effects are combined, using only the most recent effect is sufficient (eg reapplying bold) as that should produce effectively no change while still having a color code stuck into the name as is needed to break NPCs looking like real players internally.

* Additional NPC name improvement: fix color code splliting

a name consisting of a color code followed by 15 letters would get split in the middle of the color code, rather than around it. This fixes that.
2018-12-20 04:44:06 +08:00
mcmonkey
738a75e5c9
patch other altered field 2018-12-14 15:24:28 -08:00
mcmonkey
eea6e83e83
Patch for latest spigot, may have issues, for #1635
cross-compat is getting messy as Spigot is changing too many names within a single version label
2018-12-13 01:13:42 -08:00
mcmonkey
9ac3f0fa0c
patch other newly named NMS fields 2018-12-10 07:26:05 -08:00
mcmonkey
2a65357aff
add a fallback handling for older builds of spigot 2018-12-07 06:01:17 -08:00
mcmonkey
28cc67cbad
patch for latest spigot 1.13.2 build 2018-12-07 00:44:25 -08:00
mergu
f47912f001 Fix npc path block updates (#1611)
* Fix npc path block updates

* Only update pathfind blocks in debug mode
2018-11-05 19:05:28 +08:00
fullwall
3c1975f1df Update for 1.13.2 2018-10-25 16:48:15 +08:00
fullwall
9f9647a615 Reset pitch 2018-09-30 15:25:10 +08:00
fullwall
d9a0481a7e Fix for change in EntityTypes fields 2018-09-26 18:57:34 +08:00