Interface IMultiBlockEntity

All Known Implementing Classes:
AbstractMultiBlockEntity, TestMultiblockEntity

public interface IMultiBlockEntity
  • 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)
    • getFullBlockShapeCache

      List<net.minecraft.core.BlockPos> getFullBlockShapeCache()
    • setFullBlockShapeCache

      void setFullBlockShapeCache(List<net.minecraft.core.BlockPos> shapeCache)
    • invalidateCaches

      void invalidateCaches()
    • getPreviewMode

      PreviewMode getPreviewMode()
    • setPreviewMode

      void setPreviewMode(PreviewMode mode)
    • setPlaced

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

      static boolean isPlaced(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()