public interface IPartHelper
| Modifier and Type | Method and Description |
|---|---|
CableRenderMode |
getCableRenderMode() |
net.minecraft.util.EnumActionResult |
placeBus(net.minecraft.item.ItemStack is,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand,
net.minecraft.world.World world)
use in use item, to try and place a IBusItem
|
boolean |
registerNewLayer(java.lang.String string,
java.lang.String layerInterface)
Register a new layer with the part layer system, this allows you to write an in between between tile entities and
parts.
|
boolean registerNewLayer(java.lang.String string,
java.lang.String layerInterface)
net.minecraft.util.EnumActionResult placeBus(net.minecraft.item.ItemStack is,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand,
net.minecraft.world.World world)
is - ItemStack of an item which implements IPartItempos - pos of partside - side which the part should be onplayer - player placing partworld - part in worldCableRenderMode getCableRenderMode()