net.minecraft.block.pattern

public class BlockPattern

net.minecraft.world.level.block.state.pattern.BlockPattern
net.minecraft.world.level.block.state.pattern.BlockPattern
net.minecraft.class_2700
net.minecraft.block.pattern.BlockPattern

Field summary

Modifier and TypeField
private final Predicate<CachedBlockPosition>[][][]
pattern
pattern
field_12358
pattern
private final int
depth
depth
field_12357
depth
private final int
height
height
field_12356
height
private final int
width
width
field_12355
width

Constructor summary

ModifierConstructor
public (Predicate<CachedBlockPosition>[][][] pattern)

Method summary

Modifier and TypeMethod
public int
getDepth()
getDepth()
method_11712()
getDepth()
public int
getHeight()
getHeight()
method_11713()
getHeight()
public int
getWidth()
getWidth()
method_11710()
getWidth()
public Predicate<CachedBlockPosition>[][][]
getPattern()
getPattern()
method_35301()
getPattern()
public BlockPattern$Result
matches(LevelReader level, BlockPos origin, Direction forwards, Direction up)
matches(LevelReader level, BlockPos origin, Direction forwards, Direction up)
method_35300(class_4538 arg0, class_2338 arg1, class_2350 arg2, class_2350 arg3)
testTransform(WorldView world, BlockPos frontTopLeft, Direction forwards, Direction up)
private BlockPattern$Result
matches(BlockPos origin, Direction forwards, Direction up, com.google.common.cache.LoadingCache<BlockPos, BlockInWorld> cache)
matches(BlockPos origin, Direction forwards, Direction up, com.google.common.cache.LoadingCache<BlockPos, BlockInWorld> cache)
method_11711(class_2338 arg0, class_2350 arg1, class_2350 arg2, com.google.common.cache.LoadingCache<class_2338, class_2694> arg3)
testTransform(BlockPos frontTopLeft, Direction forwards, Direction up, com.google.common.cache.LoadingCache<BlockPos, CachedBlockPosition> cache)
public BlockPattern$Result
find(LevelReader level, BlockPos origin)
find(LevelReader level, BlockPos origin)
method_11708(class_4538 arg0, class_2338 arg1)
searchAround(WorldView world, BlockPos pos)
public static com.google.common.cache.LoadingCache<BlockPos, CachedBlockPosition>
createLevelCache(LevelReader level, boolean loadChunks)
createLevelCache(LevelReader level, boolean loadChunks)
method_11709(class_4538 arg0, boolean arg1)
makeCache(WorldView world, boolean forceLoad)
protected static BlockPos
translateAndRotate(BlockPos origin, Direction forwardsDirection, Direction upDirection, int right, int down, int forwards)
translateAndRotate(BlockPos origin, Direction forwardsDirection, Direction upDirection, int right, int down, int forwards)
method_11707(class_2338 arg0, class_2350 arg1, class_2350 arg2, int arg3, int arg4, int arg5)
translate(BlockPos pos, Direction forwards, Direction up, int offsetLeft, int offsetDown, int offsetForwards)