@@ -1,6 +1,6 @@
|
||||
--- a/net/minecraft/server/EntitySheep.java
|
||||
+++ b/net/minecraft/server/EntitySheep.java
|
||||
@@ -10,6 +10,12 @@
|
||||
@@ -8,6 +8,12 @@
|
||||
import java.util.stream.Collectors;
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
public class EntitySheep extends EntityAnimal {
|
||||
|
||||
private static final DataWatcherObject<Byte> bC = DataWatcher.a(EntitySheep.class, DataWatcherRegistry.a);
|
||||
@@ -17,8 +23,15 @@
|
||||
@@ -15,8 +21,15 @@
|
||||
public boolean canUse(EntityHuman entityhuman) {
|
||||
return false;
|
||||
}
|
||||
@@ -30,7 +30,7 @@
|
||||
enummap.put(EnumColor.WHITE, Blocks.WHITE_WOOL);
|
||||
enummap.put(EnumColor.ORANGE, Blocks.ORANGE_WOOL);
|
||||
enummap.put(EnumColor.MAGENTA, Blocks.MAGENTA_WOOL);
|
||||
@@ -143,11 +156,22 @@
|
||||
@@ -141,11 +154,22 @@
|
||||
|
||||
if (itemstack.getItem() == Items.SHEARS && !this.isSheared() && !this.isBaby()) {
|
||||
if (!this.world.isClientSide) {
|
||||
@@ -53,7 +53,7 @@
|
||||
|
||||
if (entityitem != null) {
|
||||
entityitem.motY += (double) (this.random.nextFloat() * 0.05F);
|
||||
@@ -232,6 +256,12 @@
|
||||
@@ -230,6 +254,12 @@
|
||||
}
|
||||
|
||||
public void x() {
|
||||
@@ -66,7 +66,7 @@
|
||||
this.setSheared(false);
|
||||
if (this.isBaby()) {
|
||||
this.setAge(60);
|
||||
@@ -252,6 +282,7 @@
|
||||
@@ -250,6 +280,7 @@
|
||||
|
||||
this.container.setItem(0, new ItemStack(ItemDye.a(enumcolor)));
|
||||
this.container.setItem(1, new ItemStack(ItemDye.a(enumcolor1)));
|
||||
|
||||
Reference in New Issue
Block a user