Package net.minecraft.block.pattern
Class BlockPattern.Result
java.lang.Object
net.minecraft.block.pattern.BlockPattern.Result
- Enclosing class:
- BlockPattern
public static class BlockPattern.Result extends Object
-
Field Summary
Fields Modifier and Type Field Description private LoadingCache<BlockPos,CachedBlockPosition>cacheprivate intdepthprivate Directionforwardsprivate BlockPosfrontTopLeftprivate intheightprivate Directionupprivate intwidth -
Constructor Summary
Constructors Constructor Description Result(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos,CachedBlockPosition> cache, int width, int height, int depth) -
Method Summary
Modifier and Type Method Description DirectiongetForwards()BlockPosgetFrontTopLeft()DirectiongetUp()StringtoString()CachedBlockPositiontranslate(int int2, int int3, int int4)
-
Field Details
-
frontTopLeft
-
forwards
-
up
-
cache
-
width
private final int width -
height
private final int height -
depth
private final int depth
-
-
Constructor Details
-
Result
public Result(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos,CachedBlockPosition> cache, int width, int height, int depth)
-
-
Method Details