@@ -1,8 +1,8 @@
|
||||
--- a/net/minecraft/server/BlockSkull.java
|
||||
+++ b/net/minecraft/server/BlockSkull.java
|
||||
@@ -4,6 +4,11 @@
|
||||
import java.util.Iterator;
|
||||
@@ -5,6 +5,11 @@
|
||||
import java.util.Random;
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
+// CraftBukkit start
|
||||
+import org.bukkit.craftbukkit.util.BlockStateListPopulator;
|
||||
@@ -12,7 +12,7 @@
|
||||
public class BlockSkull extends BlockTileEntity {
|
||||
|
||||
public static final BlockStateDirection FACING = BlockDirectional.FACING;
|
||||
@@ -81,7 +86,25 @@
|
||||
@@ -82,7 +87,25 @@
|
||||
return new ItemStack(Items.SKULL, 1, i);
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
public void a(World world, BlockPosition blockposition, IBlockData iblockdata, EntityHuman entityhuman) {
|
||||
if (entityhuman.abilities.canInstantlyBuild) {
|
||||
@@ -94,7 +117,10 @@
|
||||
@@ -95,7 +118,10 @@
|
||||
|
||||
public void remove(World world, BlockPosition blockposition, IBlockData iblockdata) {
|
||||
if (!world.isClientSide) {
|
||||
@@ -51,7 +51,7 @@
|
||||
TileEntity tileentity = world.getTileEntity(blockposition);
|
||||
|
||||
if (tileentity instanceof TileEntitySkull) {
|
||||
@@ -126,24 +152,36 @@
|
||||
@@ -128,24 +154,36 @@
|
||||
}
|
||||
|
||||
public void a(World world, BlockPosition blockposition, TileEntitySkull tileentityskull) {
|
||||
@@ -90,7 +90,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
@@ -156,14 +194,16 @@
|
||||
@@ -158,14 +196,16 @@
|
||||
entitywither.o();
|
||||
Iterator iterator = world.a(EntityHuman.class, entitywither.getBoundingBox().g(50.0D)).iterator();
|
||||
|
||||
@@ -109,7 +109,7 @@
|
||||
int k;
|
||||
|
||||
for (k = 0; k < 120; ++k) {
|
||||
@@ -177,6 +217,7 @@
|
||||
@@ -179,6 +219,7 @@
|
||||
world.update(shapedetectorblock2.getPosition(), Blocks.AIR);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user