Commit Graph

162 Commits

Author SHA1 Message Date
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
7e58db8be5 Backport fixes to 1.12 2019-07-02 02:05:12 +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
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
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
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
97d4d7b428 Force armor stands to use the new pathfinder and override packet sending 2018-09-18 18:15:37 +08:00
fullwall
11166c8bbe Update version and preliminary 1.13.1 update 2018-08-26 20:43:51 +08:00
fullwall
505ef8a926 Use new spawnreason 2018-08-08 16:08:38 +08:00
mcmonkey
3023492e4d
use latest cb versions
They're all now on the buildserver
2018-07-19 20:30:42 -07:00
fullwall
dfb5b90b38 Preliminary 1.13 update - some known issues 2018-07-19 20:18:47 +08:00
fullwall
23f03c1fd8 Add PlayerAnimation.START_ELYTRA 2018-06-29 22:35:13 +08:00
fullwall
e4f059683a Don't persist armor stands from PlayerAnimation.SIT 2018-06-29 00:07:56 +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
Alex "mcmonkey" Goodwin
42fda25ceb Patch skin command, rename command (#1524)
* Fix npc skin -t argument order

Command input is doc'd as (and should function as) data then signature, but the called method was signature then data... update calls it in correct order. Also, fixes doc to indicate that a name is valid input, not just uuid (not entirely sure how that is handled when sent out in a packet, but it seems to be correct to feed a name)

* Ensure rename command will handle scoreboard changes

Always update prefix/suffix, not just only when team is newly created
Guarantee removal entity from scoreboard team on remove
Also removes a fileheader screwup (first line changed in 1_12_R1 file)
Also removes non-used code bits (the two coloredName lines - they don't actually functionally do anything)
Also removes a duplicated data get call

* patch gamemode command

Uppercase + unique permission node

* patch for names of length 30
2018-06-27 12:00:03 +08:00
Julian v.d Berkmortel
5d04746a99 ( Patch for #1498 ) protect villager npcs from lightning (#1504) 2018-06-07 17:08:39 +08:00
fullwall
3f22903b04 merge 2018-05-27 20:01:49 +08:00
fullwall
3f035ad38f Clear old advancement data 2018-05-27 19:59:56 +08:00
fullwall
9df6abfede
Update EmptyAdvancementDataPlayer.java 2018-05-24 09:39:06 +08:00
fullwall
fd413fadb8 More advancement clearing 2018-05-19 10:27:33 +08:00
DoNotSpamPls
79fc7c426b mcstats.org > bstats.org (#1478)
Switch to bstats
2018-04-18 22:22:38 +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
a8ec654753 Be more aggressive in blocking achievement earning 2018-04-02 00:46:45 +08:00
fullwall
3090bf3fde Use Collections.emptyMap() instead of empty ImmutableMap 2018-03-30 21:18:36 +08:00
fullwall
4da3153cdd Fix shulker color and playing sounds 2018-03-26 14:39:28 +08:00
fullwall
9a5c6a2170 Fix #1452 2018-03-24 15:33:41 +08:00
fullwall
e20e45169a Prevent magma cubes from damaging players 2018-03-15 17:21:51 +08:00
fullwall
a1d1a6cc13 Fix vex NPCs having gravity on spawn 2018-03-15 17:10:23 +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
8054667482 Implement a less CPU-intensive method of clearing advancement progress 2018-03-09 22:24:24 +08:00
fullwall
407430daa5 Stop default AI for players mounted on pigs 2018-03-09 19:44:10 +08:00
fullwall
bf13181bd1 Add a NPE check to getVehicle 2018-03-02 00:39:05 +08:00
fullwall
d14119bc38 Override an ocelot method 2018-02-18 18:56:19 +08:00
fullwall
9ad7c976bf Fix wolf targeting with Citizens installed 2018-02-05 15:51:20 +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
f33804609e Add -l flag to /npc spawn and add /npc metadata
Add /npc remove --owner
2018-01-01 14:41:10 +08:00
fullwall
ffbedcd841 Implement a rudimentary setSkinPersistent API 2017-10-19 00:27:27 +08:00
fullwall
15569c529f Add /npc shulker 2017-09-04 19:16:49 +08:00
Brokkonaut
78992529e5 Try fixing memory leak with advancements 2017-08-31 16:19:06 +02:00
fullwall
0e25c352a0 Try to aggressively stub out AdvancementDataPlayer 2017-08-24 19:50:04 +08:00
fullwall
40e80c074d Java 6 source compat 2017-08-22 21:18:06 +08:00
fullwall
0a6b954976 Try a better way of clearing advancement progress 2017-08-22 21:09:06 +08:00
fullwall
d67324c885 Avoid clearing advancement data 2017-08-22 20:24:42 +08:00
fullwall
46079e717c Clear achievement map 2017-07-14 15:01:17 +08:00
fullwall
4d67397067 Prevent advancements for human NPCs 2017-07-12 20:39:13 +08:00
fullwall
aa3654c3fa Use minecraft logic for minecarts 2017-07-10 01:00:35 +08:00
fullwall
093533b0ea Add parrot trait properly 2017-06-20 17:20:32 +08:00
fullwall
c02fec9ca0 Set noclip for spectator NPCs 2017-06-09 20:27:44 +08:00
fullwall
4235e72cc1 Remove subscription to bukkit broadcast 2017-06-08 19:37:57 +08:00
fullwall
98774bac15 Fix gravity for players 2017-06-08 19:28:17 +08:00
fullwall
9f291dfec2 Add parrot command, fix 1.12 bug in players 2017-06-08 19:19:04 +08:00
fullwall
8e0fa64f9a First pass update to 1.12 2017-06-08 18:14:41 +08:00
fullwall
a3161bd182 Remove diamond operator 2017-06-02 20:40:39 +08:00
fullwall
8145751136 Bump version, first pass at 1.12 2017-06-02 17:36:25 +08:00