Class BlockPatternUtils

java.lang.Object
net.nikdo53.tinymultiblocklib.components.BlockPatternUtils

public class BlockPatternUtils extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    static net.minecraft.core.BlockPos
    getBottomNorthWest(net.minecraft.world.level.block.state.pattern.BlockPattern.BlockPatternMatch match)
     
    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)
     
    static net.minecraft.core.BlockPos
    getCorner(net.minecraft.world.level.block.state.pattern.BlockPattern.BlockPatternMatch match, Corner corner)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)