Interface IFacadePart


@NonExtendable public interface IFacadePart
Used Internally. not intended for implementation.
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.level.block.state.BlockState
     
    void
    getBoxes(IPartCollisionHelper ch, boolean itemEntity)
    used to collide, and pick the part
    net.minecraft.world.item.Item
     
    net.minecraft.world.item.ItemStack
    used to save the part.
    net.minecraft.core.Direction
     
    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

      void getBoxes(IPartCollisionHelper ch, boolean itemEntity)
      used to collide, and pick the part
      Parameters:
      ch - collision helper
      itemEntity - 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.