public class MCMultipart2Proxy extends java.lang.Object implements IMCMultiPart
Constructor and Description |
---|
MCMultipart2Proxy() |
Modifier and Type | Method and Description |
---|---|
TileEntityBlockChiseled |
getPartFromBlockAccess(net.minecraft.world.IBlockAccess w,
net.minecraft.util.math.BlockPos pos) |
TileEntityBlockChiseled |
getPartIfPossible(net.minecraft.world.World w,
net.minecraft.util.math.BlockPos pos,
boolean create) |
boolean |
isMultiPart(net.minecraft.world.World w,
net.minecraft.util.math.BlockPos pos) |
void |
populateBlobWithUsedSpace(net.minecraft.world.World w,
net.minecraft.util.math.BlockPos pos,
VoxelBlob vb) |
void |
removePartIfPossible(net.minecraft.tileentity.TileEntity te) |
boolean |
rotate(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.EntityPlayer player) |
void |
swapRenderIfPossible(net.minecraft.tileentity.TileEntity current,
TileEntityBlockChiseled newTileEntity) |
void |
triggerPartChange(net.minecraft.tileentity.TileEntity te) |
public void swapRenderIfPossible(net.minecraft.tileentity.TileEntity current, TileEntityBlockChiseled newTileEntity)
swapRenderIfPossible
in interface IMCMultiPart
public void removePartIfPossible(net.minecraft.tileentity.TileEntity te)
removePartIfPossible
in interface IMCMultiPart
public TileEntityBlockChiseled getPartIfPossible(net.minecraft.world.World w, net.minecraft.util.math.BlockPos pos, boolean create)
getPartIfPossible
in interface IMCMultiPart
public void triggerPartChange(net.minecraft.tileentity.TileEntity te)
triggerPartChange
in interface IMCMultiPart
public boolean isMultiPart(net.minecraft.world.World w, net.minecraft.util.math.BlockPos pos)
isMultiPart
in interface IMCMultiPart
public void populateBlobWithUsedSpace(net.minecraft.world.World w, net.minecraft.util.math.BlockPos pos, VoxelBlob vb)
populateBlobWithUsedSpace
in interface IMCMultiPart
public boolean rotate(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.entity.player.EntityPlayer player)
rotate
in interface IMCMultiPart
public TileEntityBlockChiseled getPartFromBlockAccess(net.minecraft.world.IBlockAccess w, net.minecraft.util.math.BlockPos pos)
getPartFromBlockAccess
in interface IMCMultiPart