Class BlockPattern.BlockPatternMatch
java.lang.Object
net.minecraft.world.level.block.state.pattern.BlockPattern.BlockPatternMatch
- Enclosing class:
BlockPattern
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final LoadingCache<BlockPos, BlockInWorld> private final intprivate final Directionprivate final BlockPosprivate final intprivate final Directionprivate final int -
Constructor Summary
ConstructorsConstructorDescriptionBlockPatternMatch(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos, BlockInWorld> cache, int width, int height, int depth) -
Method Summary
-
Field Details
-
frontTopLeft
-
forwards
-
up
-
cache
-
width
private final int width -
height
private final int height -
depth
private final int depth
-
-
Constructor Details
-
BlockPatternMatch
public BlockPatternMatch(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos, BlockInWorld> cache, int width, int height, int depth)
-
-
Method Details
-
getFrontTopLeft
-
getForwards
-
getUp
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
getDepth
public int getDepth() -
getBlock
-
toString
-