Class BlockPatternUtils
java.lang.Object
net.nikdo53.tinymultiblocklib.components.BlockPatternUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanfindAndPlace(net.minecraft.world.level.block.state.pattern.BlockPattern blockPattern, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState stateToPlace, net.minecraft.core.BlockPos placementOffset, Corner corner) static net.minecraft.core.BlockPosgetBottomNorthWest(net.minecraft.world.level.block.state.pattern.BlockPattern.BlockPatternMatch match) static net.minecraft.core.BlockPosgetCorner(net.minecraft.world.level.block.state.pattern.BlockPattern.BlockPatternMatch match, net.minecraft.core.Direction xAxis, net.minecraft.core.Direction yAxis, net.minecraft.core.Direction zAxis) static net.minecraft.core.BlockPosgetCorner(net.minecraft.world.level.block.state.pattern.BlockPattern.BlockPatternMatch match, Corner corner)
-
Constructor Details
-
BlockPatternUtils
public BlockPatternUtils()
-
-
Method Details
-
findAndPlace
public static boolean findAndPlace(net.minecraft.world.level.block.state.pattern.BlockPattern blockPattern, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState stateToPlace, net.minecraft.core.BlockPos placementOffset, Corner corner) -
getBottomNorthWest
public static net.minecraft.core.BlockPos getBottomNorthWest(net.minecraft.world.level.block.state.pattern.BlockPattern.BlockPatternMatch match) -
getCorner
public static net.minecraft.core.BlockPos getCorner(net.minecraft.world.level.block.state.pattern.BlockPattern.BlockPatternMatch match, Corner corner) -
getCorner
public static net.minecraft.core.BlockPos getCorner(net.minecraft.world.level.block.state.pattern.BlockPattern.BlockPatternMatch match, net.minecraft.core.Direction xAxis, net.minecraft.core.Direction yAxis, net.minecraft.core.Direction zAxis)
-