Interface IExpandingMultiblock

All Superinterfaces:
IMBStateSyncer, IMultiBlock
All Known Subinterfaces:
IMovableMultiblock
All Known Implementing Classes:
AbstractMultiBlock, TestBlock

public interface IExpandingMultiblock extends IMultiBlock
  • Method Details

    • onPlaceHelper

      default void onPlaceHelper(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState oldState)
      Specified by:
      onPlaceHelper in interface IMultiBlock
    • hasShapeChanged

      default boolean hasShapeChanged(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState oldState)
    • changeShape

      default void changeShape(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState oldState)
    • canChangeShape

      default boolean canChangeShape(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos)
    • postChangeShape

      default void postChangeShape(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState oldState)
    • cancelChangeShape

      default void cancelChangeShape(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState oldState)