mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 04:09:40 +00:00
time to take a break for a few hours
This commit is contained in:
1 parent
5aec324ece
commit
e3282b14db
5 files changed
+8
-8
No files matched your search
@@ -120,7 +120,7 @@ public class EquipBlock extends InventoryBlock
|
||||
}
|
||||
|
||||
@Override
|
||||
public void func_149749_a (World par1World, int x, int y, int z, int par5, int meta)
|
||||
public void breakBlock (World par1World, int x, int y, int z, int par5, int meta)
|
||||
{
|
||||
TileEntity te = par1World.func_147438_o(x, y, z);
|
||||
|
||||
@@ -165,7 +165,7 @@ public class EquipBlock extends InventoryBlock
|
||||
}
|
||||
}
|
||||
|
||||
super.func_149749_a(par1World, x, y, z, par5, meta);
|
||||
super.breakBlock(par1World, x, y, z, par5, meta);
|
||||
}
|
||||
|
||||
public int getLightValue (IBlockAccess world, int x, int y, int z)
|
||||
|
||||
@@ -146,7 +146,7 @@ public class LandmineExplodeLogic
|
||||
|
||||
if (hasExploded || defBeh != null && !preventExplode)
|
||||
{
|
||||
worldObj.removeBlockTileEntity(x, y, z);
|
||||
worldObj.func_147475_p(x, y, z);
|
||||
WorldHelper.setBlockToAir(worldObj, x, y, z);
|
||||
}
|
||||
else
|
||||
|
||||
@@ -238,7 +238,7 @@ public class Landmine extends MantleBlock
|
||||
par1World.func_147459_d(par2, par3 - 1, par4, this);
|
||||
}
|
||||
|
||||
super.func_149749_a(par1World, par2, par3, par4, par5, par6);
|
||||
super.breakBlock(par1World, par2, par3, par4, par5, par6);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -25,9 +25,9 @@ public class StencilTableGui extends GuiContainer
|
||||
patternIndex = 0;
|
||||
}
|
||||
|
||||
public void onGuiClosed ()
|
||||
public void func_146281_b ()
|
||||
{
|
||||
super.onGuiClosed();
|
||||
super.func_146281_b();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -84,13 +84,13 @@ public class BarricadeItem extends ItemBlock
|
||||
{
|
||||
return false;
|
||||
}
|
||||
else if (world.canPlaceEntityOnSide(this.b, x, y, z, false, side, player, stack))
|
||||
else if (world.func_147472_a(this.b, x, y, z, false, side, player, stack))
|
||||
{
|
||||
Block block = this.b;
|
||||
//int meta = this.getMetadata(stack.getItemDamage());
|
||||
int rotation = MathHelper.floor_double((double) (player.rotationYaw * 4.0F / 360.0F) + 0.5D) & 3;
|
||||
int meta = rotation * 4;
|
||||
int metadata = this.b.onBlockPlaced(world, x, y, z, side, hitX, hitY, hitZ, meta);
|
||||
int metadata = this.b.func_149660_a(world, x, y, z, side, hitX, hitY, hitZ, meta);
|
||||
|
||||
if (placeBlockAt(stack, player, world, x, y, z, side, hitX, hitY, hitZ, metadata))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user