Package net.minecraft.block.pattern
Class BlockPattern
java.lang.Object
net.minecraft.block.pattern.BlockPattern
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.common.cache.LoadingCache<BlockPos,
CachedBlockInfo> createLevelCache
(IWorldReader p_181627_0_, boolean p_181627_1_) find
(IWorldReader p_177681_1_, BlockPos p_177681_2_) int
getDepth()
int
int
getWidth()
private BlockPattern.PatternHelper
matches
(BlockPos p_177682_1_, Direction p_177682_2_, Direction p_177682_3_, com.google.common.cache.LoadingCache<BlockPos, CachedBlockInfo> p_177682_4_) protected static BlockPos
translateAndRotate
(BlockPos p_177683_0_, Direction p_177683_1_, Direction p_177683_2_, int p_177683_3_, int p_177683_4_, int p_177683_5_)
-
Field Details
-
pattern
-
depth
private final int depth -
height
private final int height -
width
private final int width
-
-
Constructor Details
-
BlockPattern
-
-
Method Details
-
getDepth
public int getDepth() -
getHeight
public int getHeight() -
getWidth
public int getWidth() -
matches
@Nullable private BlockPattern.PatternHelper matches(BlockPos p_177682_1_, Direction p_177682_2_, Direction p_177682_3_, com.google.common.cache.LoadingCache<BlockPos, CachedBlockInfo> p_177682_4_) -
find
-
createLevelCache
public static com.google.common.cache.LoadingCache<BlockPos,CachedBlockInfo> createLevelCache(IWorldReader p_181627_0_, boolean p_181627_1_) -
translateAndRotate
-