Interface IMultiBlockEntity

All Known Implementing Classes:
AbstractMultiBlockEntity, TestBlockEntity

public interface IMultiBlockEntity
  • Method Summary

    Modifier and Type
    Method
    Description
    default net.minecraft.world.level.block.entity.BlockEntity
     
    net.minecraft.core.BlockPos
     
     
    default boolean
     
    boolean
    True once the whole placing logic runs (to prevent updateShape from breaking it early)
    void
    setCenter(net.minecraft.core.BlockPos pos)
     
    void
    setPlaced(boolean placed)
     
    static void
    setPlaced(net.minecraft.world.level.LevelReader level, net.minecraft.core.BlockPos blockPos)
     
    void
     
  • Method Details

    • getCenter

      net.minecraft.core.BlockPos getCenter()
    • setCenter

      void setCenter(net.minecraft.core.BlockPos pos)
    • isPlaced

      boolean isPlaced()
      True once the whole placing logic runs (to prevent updateShape from breaking it early)
    • setPlaced

      void setPlaced(boolean placed)
    • getPreviewMode

      PreviewMode getPreviewMode()
    • setPreviewMode

      void setPreviewMode(PreviewMode mode)
    • setPlaced

      static void setPlaced(net.minecraft.world.level.LevelReader level, net.minecraft.core.BlockPos blockPos)
    • isCenter

      default boolean isCenter()
    • getBlockEntity

      default net.minecraft.world.level.block.entity.BlockEntity getBlockEntity()