Package net.minecraft.block.pattern
Class BlockPattern
java.lang.Object
net.minecraft.block.pattern.BlockPattern
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
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_) intgetDepth()intintgetWidth()private BlockPattern.PatternHelpermatches(BlockPos p_177682_1_, Direction p_177682_2_, Direction p_177682_3_, com.google.common.cache.LoadingCache<BlockPos, CachedBlockInfo> p_177682_4_) protected static BlockPostranslateAndRotate(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
-