Interface IMultiBlockCore

All Known Subinterfaces:
IModularMultiBlockCore
All Known Implementing Classes:
MultiBlockCoreEntity

public interface IMultiBlockCore
The core of a multiblock structure, tracks the positions of all the components in the structure.
  • Method Details

    • getComponentPositions

      ArrayList<net.minecraft.core.BlockPos> getComponentPositions()
    • getStructure

      @Nullable MultiBlockStructure getStructure()
      Returns:
      The multiblock structure created upon placement. Return null to disable.
    • setupMultiblock

      default void setupMultiblock(net.minecraft.core.BlockPos pos)
    • isModular

      default boolean isModular()
    • destroyMultiblock

      default void destroyMultiblock(@Nullable net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos)