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

public class BlockPattern

coh
net.minecraft.world.level.block.state.pattern.BlockPattern
net.minecraft.class_2700
net.minecraft.block.pattern.BlockPattern
net.minecraft.src.C_2071_
net.minecraft.world.level.block.state.pattern.ShapeDetector

Field summary

Modifier and TypeField
private final Predicate<BlockInWorld>[][][]
a
pattern
field_12358
pattern
f_61177_
private final int
b
depth
field_12357
depth
f_61178_
private final int
c
height
field_12356
height
f_61179_
private final int
d
width
field_12355
width
f_61180_

Constructor summary

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

Method summary

Modifier and TypeMethod
public int
a()
getDepth()
method_11712()
getDepth()
m_61183_()
public int
b()
getHeight()
method_11713()
getHeight()
m_61202_()
public int
c()
getWidth()
method_11710()
getWidth()
m_61203_()
public Predicate<BlockInWorld>[][][]
d()
getPattern()
method_35301()
getPattern()
m_155969_()
public BlockPattern$BlockPatternMatch
a(cag arg0, gh arg1, gm arg2, gm arg3)
matches(LevelReader arg0, BlockPos arg1, Direction arg2, Direction arg3)
method_35300(class_4538 arg0, class_2338 arg1, class_2350 arg2, class_2350 arg3)
testTransform(WorldView world, BlockPos frontTopLeft, Direction forwards, Direction up)
m_155964_(C_1599_ p_155966_, C_4675_ p_155967_, C_4687_ p_155968_, C_4687_ arg3)
private BlockPattern$BlockPatternMatch
a(gh arg0, gm arg1, gm arg2, com.google.common.cache.LoadingCache<gh, cog> arg3)
matches(BlockPos arg0, Direction arg1, Direction arg2, com.google.common.cache.LoadingCache<BlockPos, BlockInWorld> arg3)
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)
m_61197_(C_4675_ p_61199_, C_4687_ p_61200_, C_4687_ p_61201_, com.google.common.cache.LoadingCache<C_4675_, C_2070_> arg3)
public BlockPattern$BlockPatternMatch
a(cag arg0, gh arg1)
find(LevelReader arg0, BlockPos arg1)
method_11708(class_4538 arg0, class_2338 arg1)
searchAround(WorldView world, BlockPos pos)
m_61184_(C_1599_ p_61186_, C_4675_ arg1)
public static com.google.common.cache.LoadingCache<BlockPos, BlockInWorld>
a(cag arg0, boolean arg1)
createLevelCache(LevelReader arg0, boolean arg1)
method_11709(class_4538 arg0, boolean arg1)
makeCache(WorldView world, boolean forceLoad)
m_61187_(C_1599_ p_61188_, boolean p_61189_)
protected static BlockPos
a(gh arg0, gm arg1, gm arg2, int arg3, int arg4, int arg5)
translateAndRotate(BlockPos arg0, Direction arg1, Direction arg2, int arg3, int arg4, int arg5)
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)
m_61190_(C_4675_ p_61191_, C_4687_ p_61192_, C_4687_ p_61193_, int p_61194_, int p_61195_, int p_61196_)