Interface IMultiblock
- All Superinterfaces:
net.minecraftforge.registries.IForgeRegistryEntry<net.minecraft.world.level.block.Block>
- All Known Implementing Classes:
MachineMultiblock
public interface IMultiblock
extends net.minecraftforge.registries.IForgeRegistryEntry<net.minecraft.world.level.block.Block>
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreateStructureMultiblock(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction playerFacing) voiddestroyMultiblock(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction facing) Predicate<net.minecraft.world.level.block.state.BlockState>[][][]booleanisController(int x, int y, int z) booleanisStructureMultiblock(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction playerFacing) Methods inherited from interface net.minecraftforge.registries.IForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName
-
Method Details
-
getStructureBlocks
Predicate<net.minecraft.world.level.block.state.BlockState>[][][] getStructureBlocks() -
isController
boolean isController(int x, int y, int z) -
isStructureMultiblock
boolean isStructureMultiblock(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction playerFacing) -
createStructureMultiblock
void createStructureMultiblock(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction playerFacing) -
destroyMultiblock
void destroyMultiblock(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction facing)
-