@@ -1,8 +1,8 @@
|
||||
--- a/net/minecraft/server/BlockPumpkin.java
|
||||
+++ b/net/minecraft/server/BlockPumpkin.java
|
||||
@@ -2,6 +2,12 @@
|
||||
|
||||
@@ -3,6 +3,12 @@
|
||||
import com.google.common.base.Predicate;
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
+// CraftBukkit start
|
||||
+import org.bukkit.craftbukkit.util.BlockStateListPopulator;
|
||||
@@ -13,7 +13,7 @@
|
||||
public class BlockPumpkin extends BlockFacingHorizontal {
|
||||
|
||||
private ShapeDetector snowGolemPart;
|
||||
@@ -40,17 +46,24 @@
|
||||
@@ -41,17 +47,24 @@
|
||||
int j;
|
||||
|
||||
if ((shapedetector_shapedetectorcollection = this.getDetectorSnowGolem().a(world, blockposition)) != null) {
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
for (j = 0; j < 120; ++j) {
|
||||
world.addParticle(EnumParticle.SNOW_SHOVEL, (double) blockposition1.getX() + world.random.nextDouble(), (double) blockposition1.getY() + world.random.nextDouble() * 2.5D, (double) blockposition1.getZ() + world.random.nextDouble(), 0.0D, 0.0D, 0.0D, new int[0]);
|
||||
@@ -61,10 +74,16 @@
|
||||
@@ -62,10 +75,16 @@
|
||||
|
||||
world.update(shapedetectorblock1.getPosition(), Blocks.AIR);
|
||||
}
|
||||
@@ -58,7 +58,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,7 +92,10 @@
|
||||
@@ -74,7 +93,10 @@
|
||||
|
||||
entityirongolem.setPlayerCreated(true);
|
||||
entityirongolem.setPositionRotation((double) blockposition2.getX() + 0.5D, (double) blockposition2.getY() + 0.05D, (double) blockposition2.getZ() + 0.5D, 0.0F, 0.0F);
|
||||
@@ -70,7 +70,7 @@
|
||||
|
||||
for (j = 0; j < 120; ++j) {
|
||||
world.addParticle(EnumParticle.SNOWBALL, (double) blockposition2.getX() + world.random.nextDouble(), (double) blockposition2.getY() + world.random.nextDouble() * 3.9D, (double) blockposition2.getZ() + world.random.nextDouble(), 0.0D, 0.0D, 0.0D, new int[0]);
|
||||
@@ -86,6 +108,7 @@
|
||||
@@ -87,6 +109,7 @@
|
||||
world.update(shapedetectorblock2.getPosition(), Blocks.AIR);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user