mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 16:42:03 -07:00
Update to Minecraft 1.12-pre2
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
+
|
||||
public class EntitySheep extends EntityAnimal {
|
||||
|
||||
private static final DataWatcherObject<Byte> bw = DataWatcher.a(EntitySheep.class, DataWatcherRegistry.a);
|
||||
private static final DataWatcherObject<Byte> bx = DataWatcher.a(EntitySheep.class, DataWatcherRegistry.a);
|
||||
@@ -12,6 +18,13 @@
|
||||
public boolean a(EntityHuman entityhuman) {
|
||||
return false;
|
||||
@@ -25,9 +25,9 @@
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
}, 2, 1);
|
||||
private static final Map<EnumColor, float[]> by = Maps.newEnumMap(EnumColor.class);
|
||||
private int bA;
|
||||
@@ -26,6 +39,7 @@
|
||||
private static final Map<EnumColor, float[]> bz = Maps.newEnumMap(EnumColor.class);
|
||||
private int bB;
|
||||
@@ -29,6 +42,7 @@
|
||||
this.setSize(0.9F, 1.3F);
|
||||
this.container.setItem(0, new ItemStack(Items.DYE));
|
||||
this.container.setItem(1, new ItemStack(Items.DYE));
|
||||
@@ -35,7 +35,7 @@
|
||||
}
|
||||
|
||||
protected void r() {
|
||||
@@ -128,11 +142,22 @@
|
||||
@@ -131,11 +145,22 @@
|
||||
|
||||
if (itemstack.getItem() == Items.SHEARS && !this.isSheared() && !this.isBaby()) {
|
||||
if (!this.world.isClientSide) {
|
||||
@@ -58,7 +58,7 @@
|
||||
|
||||
entityitem.motY += (double) (this.random.nextFloat() * 0.05F);
|
||||
entityitem.motX += (double) ((this.random.nextFloat() - this.random.nextFloat()) * 0.1F);
|
||||
@@ -219,6 +244,12 @@
|
||||
@@ -222,6 +247,12 @@
|
||||
}
|
||||
|
||||
public void A() {
|
||||
|
Reference in New Issue
Block a user