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
- Mappings:
Namespace Name official chy$bintermediary net/minecraft/class_2700$class_2702named net/minecraft/block/pattern/BlockPattern$Result
-
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 offsetLeft, int offsetDown, int offsetForwards)
-
Field Details
-
frontTopLeft
- Mappings:
Namespace Name Mixin selector official aLchy$b;a:Lfx;intermediary field_12367Lnet/minecraft/class_2700$class_2702;field_12367:Lnet/minecraft/class_2338;named frontTopLeftLnet/minecraft/block/pattern/BlockPattern$Result;frontTopLeft:Lnet/minecraft/util/math/BlockPos;
-
forwards
- Mappings:
Namespace Name Mixin selector official bLchy$b;b:Lgc;intermediary field_12365Lnet/minecraft/class_2700$class_2702;field_12365:Lnet/minecraft/class_2350;named forwardsLnet/minecraft/block/pattern/BlockPattern$Result;forwards:Lnet/minecraft/util/math/Direction;
-
up
- Mappings:
Namespace Name Mixin selector official cLchy$b;c:Lgc;intermediary field_12364Lnet/minecraft/class_2700$class_2702;field_12364:Lnet/minecraft/class_2350;named upLnet/minecraft/block/pattern/BlockPattern$Result;up:Lnet/minecraft/util/math/Direction;
-
cache
- Mappings:
Namespace Name Mixin selector official dLchy$b;d:Lcom/google/common/cache/LoadingCache;intermediary field_12366Lnet/minecraft/class_2700$class_2702;field_12366:Lcom/google/common/cache/LoadingCache;named cacheLnet/minecraft/block/pattern/BlockPattern$Result;cache:Lcom/google/common/cache/LoadingCache;
-
width
private final int width- Mappings:
Namespace Name Mixin selector official eLchy$b;e:Iintermediary field_12363Lnet/minecraft/class_2700$class_2702;field_12363:Inamed widthLnet/minecraft/block/pattern/BlockPattern$Result;width:I
-
height
private final int height- Mappings:
Namespace Name Mixin selector official fLchy$b;f:Iintermediary field_12362Lnet/minecraft/class_2700$class_2702;field_12362:Inamed heightLnet/minecraft/block/pattern/BlockPattern$Result;height:I
-
depth
private final int depth- Mappings:
Namespace Name Mixin selector official gLchy$b;g:Iintermediary field_12361Lnet/minecraft/class_2700$class_2702;field_12361:Inamed depthLnet/minecraft/block/pattern/BlockPattern$Result;depth:I
-
-
Constructor Details
-
Result
public Result(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos,CachedBlockPosition> cache, int width, int height, int depth)- Mappings:
Namespace Name Mixin selector official <init>Lchy$b;<init>(Lfx;Lgc;Lgc;Lcom/google/common/cache/LoadingCache;III)Vintermediary <init>Lnet/minecraft/class_2700$class_2702;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;Lcom/google/common/cache/LoadingCache;III)Vnamed <init>Lnet/minecraft/block/pattern/BlockPattern$Result;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;Lcom/google/common/cache/LoadingCache;III)V
-
-
Method Details
-
getFrontTopLeft
- Mappings:
Namespace Name Mixin selector official aLchy$b;a()Lfx;intermediary method_11715Lnet/minecraft/class_2700$class_2702;method_11715()Lnet/minecraft/class_2338;named getFrontTopLeftLnet/minecraft/block/pattern/BlockPattern$Result;getFrontTopLeft()Lnet/minecraft/util/math/BlockPos;
-
getForwards
- Mappings:
Namespace Name Mixin selector official bLchy$b;b()Lgc;intermediary method_11719Lnet/minecraft/class_2700$class_2702;method_11719()Lnet/minecraft/class_2350;named getForwardsLnet/minecraft/block/pattern/BlockPattern$Result;getForwards()Lnet/minecraft/util/math/Direction;
-
getUp
- Mappings:
Namespace Name Mixin selector official cLchy$b;c()Lgc;intermediary method_11716Lnet/minecraft/class_2700$class_2702;method_11716()Lnet/minecraft/class_2350;named getUpLnet/minecraft/block/pattern/BlockPattern$Result;getUp()Lnet/minecraft/util/math/Direction;
-
translate
- Mappings:
Namespace Name Mixin selector official aLchy$b;a(III)Lchx;intermediary method_11717Lnet/minecraft/class_2700$class_2702;method_11717(III)Lnet/minecraft/class_2694;named translateLnet/minecraft/block/pattern/BlockPattern$Result;translate(III)Lnet/minecraft/block/pattern/CachedBlockPosition;
-
toString
- Overrides:
toStringin classObject- Mappings:
Namespace Name Mixin selector official toStringLchy$b;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_2700$class_2702;toString()Ljava/lang/String;named toStringLnet/minecraft/block/pattern/BlockPattern$Result;toString()Ljava/lang/String;
-