Package appeng.api.parts
Interface IFacadePart
@NonExtendable
public interface IFacadePart
Used Internally.
not intended for implementation.
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.level.block.state.BlockState
void
getBoxes
(IPartCollisionHelper ch, boolean itemEntity) used to collide, and pick the partnet.minecraft.world.item.Item
getItem()
net.minecraft.world.item.ItemStack
used to save the part.net.minecraft.core.Direction
getSide()
net.minecraft.world.item.ItemStack
The item that this facade masquerades as.
-
Method Details
-
getItemStack
net.minecraft.world.item.ItemStack getItemStack()used to save the part. -
getBoxes
used to collide, and pick the part- Parameters:
ch
- collision helperitemEntity
- collision with an item entity?
-
getSide
net.minecraft.core.Direction getSide()- Returns:
- The side the facade is attached to.
-
getItem
net.minecraft.world.item.Item getItem() -
getTextureItem
net.minecraft.world.item.ItemStack getTextureItem()The item that this facade masquerades as. -
getBlockState
net.minecraft.world.level.block.state.BlockState getBlockState()- Returns:
- The block state used for rendering.
-