More rendering fixes
This commit is contained in:
parent
47fd07f5c3
commit
16c7dc92af
4 changed files with 132 additions and 102 deletions
|
@ -91,9 +91,9 @@ public class ModelElectrolyticSeparator extends ModelBase
|
|||
base.setTextureSize(128, 64);
|
||||
base.mirror = true;
|
||||
setRotation(base, 0F, 0F, 0F);
|
||||
portToggle1 = new ModelRenderer(this, 48, 20);
|
||||
portToggle1.addBox(0F, 0F, 0F, 1, 8, 8);
|
||||
portToggle1.setRotationPoint(-8.01F, 12F, -4F);
|
||||
portToggle1 = new ModelRenderer(this, 48, 36);
|
||||
portToggle1.addBox(0F, 0F, 0F, 1, 10, 10);
|
||||
portToggle1.setRotationPoint(-8.01F, 11F, -5F);
|
||||
portToggle1.setTextureSize(128, 64);
|
||||
portToggle1.mirror = true;
|
||||
setRotation(portToggle1, 0F, 0F, 0F);
|
||||
|
|
|
@ -17,7 +17,10 @@ import mekanism.common.security.SecurityFrequency;
|
|||
import mekanism.common.util.MekanismUtils;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
import net.minecraftforge.common.util.ForgeDirection;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
public class TileEntitySecurityDesk extends TileEntityContainerBlock implements IBoundingBlock
|
||||
{
|
||||
|
@ -300,4 +303,11 @@ public class TileEntitySecurityDesk extends TileEntityContainerBlock implements
|
|||
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public AxisAlignedBB getRenderBoundingBox()
|
||||
{
|
||||
return INFINITE_EXTENT_AABB;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,7 +21,10 @@ import mekanism.common.util.ChargeUtils;
|
|||
import mekanism.common.util.MekanismUtils;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
import net.minecraftforge.common.util.ForgeDirection;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
public class TileEntitySeismicVibrator extends TileEntityElectricBlock implements IActiveState, IRedstoneControl, ISecurityTile, IBoundingBlock
|
||||
{
|
||||
|
@ -233,4 +236,11 @@ public class TileEntitySeismicVibrator extends TileEntityElectricBlock implement
|
|||
worldObj.setBlockToAir(xCoord, yCoord+1, zCoord);
|
||||
worldObj.setBlockToAir(xCoord, yCoord, zCoord);
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public AxisAlignedBB getRenderBoundingBox()
|
||||
{
|
||||
return INFINITE_EXTENT_AABB;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -29,8 +29,11 @@ import mekanism.common.util.MekanismUtils;
|
|||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
import net.minecraft.world.biome.BiomeGenDesert;
|
||||
import net.minecraftforge.common.util.ForgeDirection;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
public class TileEntitySolarNeutronActivator extends TileEntityContainerBlock implements IRedstoneControl, IBoundingBlock, IGasHandler, ITubeConnection, IActiveState, ISustainedData, ITankManager, ISecurityTile
|
||||
{
|
||||
|
@ -410,4 +413,11 @@ public class TileEntitySolarNeutronActivator extends TileEntityContainerBlock im
|
|||
{
|
||||
return securityComponent;
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public AxisAlignedBB getRenderBoundingBox()
|
||||
{
|
||||
return INFINITE_EXTENT_AABB;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue