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()intgetHeight()BlockPattern.TeleportTargetgetTeleportTarget(Direction direction, BlockPos blockPos, double double2, Vec3d vec3d, double double3)DirectiongetUp()intgetWidth()StringtoString()CachedBlockPositiontranslate(int int2, int int3, int int4)
-
Field Details
-
Constructor Details
-
Result
public Result(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos,CachedBlockPosition> cache, int width, int height, int depth)
-
-
Method Details
-
getFrontTopLeft
-
getForwards
-
getUp
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
translate
-
toString
-
getTeleportTarget
public BlockPattern.TeleportTarget getTeleportTarget(Direction direction, BlockPos blockPos, double double2, Vec3d vec3d, double double3)
-