mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-28 16:06:06 +00:00
getting super close
This commit is contained in:
1 parent
625d319b0c
commit
f936434c71
17 files changed
+32
-29
No files matched your search
@@ -120,7 +120,7 @@ public class EquipBlock extends InventoryBlock
|
||||
}
|
||||
|
||||
@Override
|
||||
public void breakBlock (World par1World, int x, int y, int z, int par5, int meta)
|
||||
public void func_149749_a (World par1World, int x, int y, int z, Block par5, int meta)
|
||||
{
|
||||
TileEntity te = par1World.func_147438_o(x, y, z);
|
||||
|
||||
@@ -165,7 +165,7 @@ public class EquipBlock extends InventoryBlock
|
||||
}
|
||||
}
|
||||
|
||||
super.breakBlock(par1World, x, y, z, par5, meta);
|
||||
super.func_149749_a(par1World, x, y, z, par5, meta);
|
||||
}
|
||||
|
||||
public int getLightValue (IBlockAccess world, int x, int y, int z)
|
||||
|
||||
@@ -263,7 +263,7 @@ public class LavaTankBlock extends BlockContainer
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean removeBlockByPlayer (World world, EntityPlayer player, int x, int y, int z)
|
||||
public boolean removedByPlayer (World world, EntityPlayer player, int x, int y, int z)
|
||||
{
|
||||
player.addExhaustion(0.025F);
|
||||
int meta = world.getBlockMetadata(x, y, z);
|
||||
|
||||
@@ -112,7 +112,7 @@ public class DryingRackLogic extends InventoryLogic
|
||||
@Override
|
||||
public void onDataPacket (NetworkManager net, S35PacketUpdateTileEntity packet)
|
||||
{
|
||||
readCustomNBT(packet.data);
|
||||
readCustomNBT(packet.func_148857_g());
|
||||
field_145850_b.func_147479_m(field_145851_c, field_145848_d, field_145849_e);
|
||||
}
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@ public class BarricadeBlock extends MantleBlock
|
||||
|
||||
public void func_147465_dBoundsBasedOnState (IBlockAccess par1IBlockAccess, int x, int y, int z)
|
||||
{
|
||||
setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
|
||||
func_149676_a(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
|
||||
}
|
||||
|
||||
public void harvestBlock (World world, EntityPlayer player, int x, int y, int z, int meta)
|
||||
@@ -73,11 +73,11 @@ public class BarricadeBlock extends MantleBlock
|
||||
if (meta % 4 > 0)
|
||||
{
|
||||
world.func_147465_d(x, y, z, this, meta - 1, 3);
|
||||
dropBlockAsItem_do(world, x, y, z, new ItemStack(this));
|
||||
func_149642_a(world, x, y, z, new ItemStack(this));
|
||||
}
|
||||
else
|
||||
{
|
||||
dropBlockAsItem_do(world, x, y, z, new ItemStack(this));
|
||||
func_149642_a(world, x, y, z, new ItemStack(this));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -119,7 +119,7 @@ public class BarricadeBlock extends MantleBlock
|
||||
world.func_147465_d(x, y, z, Blocks.air, 0, 0);
|
||||
else
|
||||
world.setBlockMetadataWithNotify(x, y, z, (int) (meta - power), 3);
|
||||
onBlockDestroyedByExplosion(world, x, y, z, explosion);
|
||||
func_149723_a(world, x, y, z, explosion);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -230,7 +230,7 @@ public class Landmine extends MantleBlock
|
||||
/**
|
||||
* ejects contained items into the world, and notifies neighbours of an update, as appropriate
|
||||
*/
|
||||
public void breakBlock (World par1World, int par2, int par3, int par4, int par5, int par6)
|
||||
public void breakBlock (World par1World, int par2, int par3, int par4, Block par5, int par6)
|
||||
{
|
||||
if (par6 > 0)
|
||||
{
|
||||
@@ -238,7 +238,7 @@ public class Landmine extends MantleBlock
|
||||
par1World.func_147459_d(par2, par3 - 1, par4, this);
|
||||
}
|
||||
|
||||
super.breakBlock(par1World, par2, par3, par4, par5, par6);
|
||||
super.func_149749_a(par1World, par2, par3, par4, par5, par6);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user