public interface IFacadePart
not intended for implementation.
| Modifier and Type | Method and Description |
|---|---|
void |
getBoxes(IPartCollisionHelper ch,
net.minecraft.entity.Entity e)
used to collide, and pick the part
|
net.minecraft.item.Item |
getItem() |
int |
getItemDamage() |
net.minecraft.item.ItemStack |
getItemStack()
used to save the part.
|
net.minecraft.util.AxisAlignedBB |
getPrimaryBox() |
net.minecraftforge.common.util.ForgeDirection |
getSide() |
boolean |
isTransparent() |
boolean |
notAEFacade() |
void |
renderInventory(IPartRenderHelper instance,
net.minecraft.client.renderer.RenderBlocks renderer)
render the part in inventory.
|
void |
renderStatic(int x,
int y,
int z,
IPartRenderHelper instance,
net.minecraft.client.renderer.RenderBlocks renderer,
IFacadeContainer fc,
net.minecraft.util.AxisAlignedBB busBounds,
boolean renderStilt)
render the part.
|
void |
setThinFacades(boolean useThinFacades) |
net.minecraft.item.ItemStack getItemStack()
void getBoxes(IPartCollisionHelper ch, net.minecraft.entity.Entity e)
ch - collision helpere - colliding entityvoid renderStatic(int x,
int y,
int z,
IPartRenderHelper instance,
net.minecraft.client.renderer.RenderBlocks renderer,
IFacadeContainer fc,
net.minecraft.util.AxisAlignedBB busBounds,
boolean renderStilt)
x - x pos of party - y pos of partz - z pos of partinstance - render helperrenderer - rendererfc - face containerbusBounds - bounding boxrenderStilt - if to render stiltvoid renderInventory(IPartRenderHelper instance, net.minecraft.client.renderer.RenderBlocks renderer)
instance - render helperrenderer - renderernet.minecraftforge.common.util.ForgeDirection getSide()
net.minecraft.util.AxisAlignedBB getPrimaryBox()
net.minecraft.item.Item getItem()
int getItemDamage()
boolean notAEFacade()
void setThinFacades(boolean useThinFacades)
boolean isTransparent()