mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Fixed fluid transmission
This commit is contained in:
parent
bfb447278f
commit
0fa542202e
@ -193,7 +193,7 @@ public class GunZOMG extends Item {
|
|||||||
@Override
|
@Override
|
||||||
public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) {
|
public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) {
|
||||||
|
|
||||||
if(itemstack.getTagCompound() == null)
|
/*if(itemstack.getTagCompound() == null)
|
||||||
{
|
{
|
||||||
list.add("Gun not validated.");
|
list.add("Gun not validated.");
|
||||||
} else if(itemstack.getTagCompound().getBoolean("valid")) {
|
} else if(itemstack.getTagCompound().getBoolean("valid")) {
|
||||||
@ -211,7 +211,9 @@ public class GunZOMG extends Item {
|
|||||||
list.add("Ammo: None (Requires Validation)");
|
list.add("Ammo: None (Requires Validation)");
|
||||||
list.add("Damage: 35 - 45");
|
list.add("Damage: 35 - 45");
|
||||||
list.add("Energy Damage: 10000 - 100000");
|
list.add("Energy Damage: 10000 - 100000");
|
||||||
list.add("Energy projectiles destroy blocks.");
|
list.add("Energy projectiles destroy blocks.");*/
|
||||||
|
for(int i = 0; i < 25; i++)
|
||||||
|
list.add("How do I use the ZOMG? How do I use the ZOMG? How do I use the ZOMG?");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@ -1168,6 +1168,13 @@ public class Library {
|
|||||||
{
|
{
|
||||||
tileentity = worldObj.getTileEntity(((TileEntityDummy)worldObj.getTileEntity(x, y, z)).targetX, ((TileEntityDummy)worldObj.getTileEntity(x, y, z)).targetY, ((TileEntityDummy)worldObj.getTileEntity(x, y, z)).targetZ);
|
tileentity = worldObj.getTileEntity(((TileEntityDummy)worldObj.getTileEntity(x, y, z)).targetX, ((TileEntityDummy)worldObj.getTileEntity(x, y, z)).targetY, ((TileEntityDummy)worldObj.getTileEntity(x, y, z)).targetZ);
|
||||||
}
|
}
|
||||||
|
if(block == ModBlocks.dummy_port_fluidtank)
|
||||||
|
{
|
||||||
|
tileentity = worldObj.getTileEntity(((TileEntityDummy)worldObj.getTileEntity(x, y, z)).targetX, ((TileEntityDummy)worldObj.getTileEntity(x, y, z)).targetY, ((TileEntityDummy)worldObj.getTileEntity(x, y, z)).targetZ);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(tileentity == that)
|
||||||
|
tileentity = null;
|
||||||
|
|
||||||
if(tileentity instanceof IFluidDuct)
|
if(tileentity instanceof IFluidDuct)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -24,6 +24,9 @@ public class SoundLoopMiner extends SoundLoopMachine {
|
|||||||
if(te instanceof TileEntityMachineMiningDrill) {
|
if(te instanceof TileEntityMachineMiningDrill) {
|
||||||
TileEntityMachineMiningDrill drill = (TileEntityMachineMiningDrill)te;
|
TileEntityMachineMiningDrill drill = (TileEntityMachineMiningDrill)te;
|
||||||
|
|
||||||
|
if(this.volume != 3)
|
||||||
|
volume = 3;
|
||||||
|
|
||||||
if(drill.torque <= 0.5F)
|
if(drill.torque <= 0.5F)
|
||||||
this.donePlaying = true;
|
this.donePlaying = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user