mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-10 17:52:02 -07:00
@@ -8,8 +8,8 @@
|
||||
+
|
||||
public class EntityPig extends EntityAnimal {
|
||||
|
||||
private static final DataWatcherObject<Boolean> bw = DataWatcher.a(EntityPig.class, DataWatcherRegistry.h);
|
||||
@@ -133,6 +135,12 @@
|
||||
private static final DataWatcherObject<Boolean> bx = DataWatcher.a(EntityPig.class, DataWatcherRegistry.h);
|
||||
@@ -137,6 +139,12 @@
|
||||
if (!this.world.isClientSide && !this.dead) {
|
||||
EntityPigZombie entitypigzombie = new EntityPigZombie(this.world);
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
entitypigzombie.setSlot(EnumItemSlot.MAINHAND, new ItemStack(Items.GOLDEN_SWORD));
|
||||
entitypigzombie.setPositionRotation(this.locX, this.locY, this.locZ, this.yaw, this.pitch);
|
||||
entitypigzombie.setAI(this.hasAI());
|
||||
@@ -141,7 +149,8 @@
|
||||
@@ -145,7 +153,8 @@
|
||||
entitypigzombie.setCustomNameVisible(this.getCustomNameVisible());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user