5787f65148
Did some file changes to make finding things easier Added: Custom creative tab Changed: File root system, :p to many files Changed: Tank liquid trade method to balance out instead of full trade Changed: the packet update rate of the Tank to try to fix Render Lag Fixed: Tank Render so Liquid levels can be seen BugIgnorable: uneven levels of liquid will not show up on tank render but are present BugIgnorable: eValve names sometime glitch and call all instances Empty XXX TODO: Fix Textures, and add model for eValve TODO: Finish One way valve TODO: Finish OIL,STEAM,FUEL liquid/gas blocks
34 lines
603 B
Java
34 lines
603 B
Java
package dark.BasicUtilities.Blocks;
|
|
|
|
import net.minecraft.block.Block;
|
|
import net.minecraft.block.material.Material;
|
|
import net.minecraftforge.liquids.ILiquid;
|
|
|
|
public class BlockSteam extends Block implements ILiquid
|
|
{
|
|
public static int blockID;
|
|
public BlockSteam(int par1)
|
|
{
|
|
super(par1, Material.air);
|
|
blockID = par1;
|
|
}
|
|
|
|
@Override
|
|
public int stillLiquidId()
|
|
{
|
|
return blockID;
|
|
}
|
|
|
|
@Override
|
|
public boolean isMetaSensitive()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
@Override
|
|
public int stillLiquidMeta()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
}
|