Update to Minecraft 1.14-pre5

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2019-04-23 12:00:00 +10:00
parent 0e98365784
commit a0f2b74c8d
560 changed files with 10642 additions and 10867 deletions

View File

@@ -11,7 +11,7 @@
public class EntitySnowman extends EntityGolem implements IRangedEntity {
@@ -55,7 +59,7 @@
@@ -62,7 +66,7 @@
}
if (this.world.getBiome(new BlockPosition(i, 0, k)).getAdjustedTemperature(new BlockPosition(i, j, k)) > 1.0F) {
@@ -20,7 +20,7 @@
}
if (!this.world.getGameRules().getBoolean("mobGriefing")) {
@@ -71,7 +75,7 @@
@@ -78,7 +82,7 @@
BlockPosition blockposition = new BlockPosition(i, j, k);
if (this.world.getType(blockposition).isAir() && this.world.getBiome(blockposition).getAdjustedTemperature(blockposition) < 0.8F && iblockdata.canPlace(this.world, blockposition)) {
@@ -29,7 +29,7 @@
}
}
}
@@ -104,6 +108,15 @@
@@ -109,6 +113,15 @@
ItemStack itemstack = entityhuman.b(enumhand);
if (itemstack.getItem() == Items.SHEARS && this.hasPumpkin() && !this.world.isClientSide) {
@@ -43,5 +43,5 @@
+ // CraftBukkit end
+
this.setHasPumpkin(false);
itemstack.damage(1, entityhuman);
}
itemstack.damage(1, entityhuman, (entityhuman1) -> {
entityhuman1.d(enumhand);