Class MultiBlockStructure.StructurePiece
java.lang.Object
team.lodestar.lodestone.systems.multiblock.MultiBlockStructure.StructurePiece
- Enclosing class:
MultiBlockStructure
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStructurePiece(int xOffset, int yOffset, int zOffset, net.minecraft.world.level.block.state.BlockState state) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanPlace(net.minecraft.world.item.context.BlockPlaceContext context) voidplace(net.minecraft.core.BlockPos core, net.minecraft.world.level.Level level) voidplace(net.minecraft.core.BlockPos core, net.minecraft.world.level.Level level, net.minecraft.world.level.block.state.BlockState state)
-
Field Details
-
offset
public final net.minecraft.core.Vec3i offset -
state
public final net.minecraft.world.level.block.state.BlockState state
-
-
Constructor Details
-
StructurePiece
public StructurePiece(int xOffset, int yOffset, int zOffset, net.minecraft.world.level.block.state.BlockState state)
-
-
Method Details
-
canPlace
public boolean canPlace(net.minecraft.world.item.context.BlockPlaceContext context) -
place
public void place(net.minecraft.core.BlockPos core, net.minecraft.world.level.Level level) -
place
public void place(net.minecraft.core.BlockPos core, net.minecraft.world.level.Level level, net.minecraft.world.level.block.state.BlockState state)
-