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$b
intermediary net/minecraft/class_2700$class_2702
named net/minecraft/block/pattern/BlockPattern$Result
-
Field Summary
Fields Modifier and Type Field Description private LoadingCache<BlockPos,CachedBlockPosition>
cache
private int
depth
private Direction
forwards
private BlockPos
frontTopLeft
private int
height
private Direction
up
private int
width
-
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 Direction
getForwards()
BlockPos
getFrontTopLeft()
Direction
getUp()
String
toString()
CachedBlockPosition
translate(int offsetLeft, int offsetDown, int offsetForwards)
-
Field Details
-
frontTopLeft
- Mappings:
Namespace Name Mixin selector official a
Lchy$b;a:Lfx;
intermediary field_12367
Lnet/minecraft/class_2700$class_2702;field_12367:Lnet/minecraft/class_2338;
named frontTopLeft
Lnet/minecraft/block/pattern/BlockPattern$Result;frontTopLeft:Lnet/minecraft/util/math/BlockPos;
-
forwards
- Mappings:
Namespace Name Mixin selector official b
Lchy$b;b:Lgc;
intermediary field_12365
Lnet/minecraft/class_2700$class_2702;field_12365:Lnet/minecraft/class_2350;
named forwards
Lnet/minecraft/block/pattern/BlockPattern$Result;forwards:Lnet/minecraft/util/math/Direction;
-
up
- Mappings:
Namespace Name Mixin selector official c
Lchy$b;c:Lgc;
intermediary field_12364
Lnet/minecraft/class_2700$class_2702;field_12364:Lnet/minecraft/class_2350;
named up
Lnet/minecraft/block/pattern/BlockPattern$Result;up:Lnet/minecraft/util/math/Direction;
-
cache
- Mappings:
Namespace Name Mixin selector official d
Lchy$b;d:Lcom/google/common/cache/LoadingCache;
intermediary field_12366
Lnet/minecraft/class_2700$class_2702;field_12366:Lcom/google/common/cache/LoadingCache;
named cache
Lnet/minecraft/block/pattern/BlockPattern$Result;cache:Lcom/google/common/cache/LoadingCache;
-
width
private final int width- Mappings:
Namespace Name Mixin selector official e
Lchy$b;e:I
intermediary field_12363
Lnet/minecraft/class_2700$class_2702;field_12363:I
named width
Lnet/minecraft/block/pattern/BlockPattern$Result;width:I
-
height
private final int height- Mappings:
Namespace Name Mixin selector official f
Lchy$b;f:I
intermediary field_12362
Lnet/minecraft/class_2700$class_2702;field_12362:I
named height
Lnet/minecraft/block/pattern/BlockPattern$Result;height:I
-
depth
private final int depth- Mappings:
Namespace Name Mixin selector official g
Lchy$b;g:I
intermediary field_12361
Lnet/minecraft/class_2700$class_2702;field_12361:I
named depth
Lnet/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)V
intermediary <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)V
named <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 a
Lchy$b;a()Lfx;
intermediary method_11715
Lnet/minecraft/class_2700$class_2702;method_11715()Lnet/minecraft/class_2338;
named getFrontTopLeft
Lnet/minecraft/block/pattern/BlockPattern$Result;getFrontTopLeft()Lnet/minecraft/util/math/BlockPos;
-
getForwards
- Mappings:
Namespace Name Mixin selector official b
Lchy$b;b()Lgc;
intermediary method_11719
Lnet/minecraft/class_2700$class_2702;method_11719()Lnet/minecraft/class_2350;
named getForwards
Lnet/minecraft/block/pattern/BlockPattern$Result;getForwards()Lnet/minecraft/util/math/Direction;
-
getUp
- Mappings:
Namespace Name Mixin selector official c
Lchy$b;c()Lgc;
intermediary method_11716
Lnet/minecraft/class_2700$class_2702;method_11716()Lnet/minecraft/class_2350;
named getUp
Lnet/minecraft/block/pattern/BlockPattern$Result;getUp()Lnet/minecraft/util/math/Direction;
-
translate
- Mappings:
Namespace Name Mixin selector official a
Lchy$b;a(III)Lchx;
intermediary method_11717
Lnet/minecraft/class_2700$class_2702;method_11717(III)Lnet/minecraft/class_2694;
named translate
Lnet/minecraft/block/pattern/BlockPattern$Result;translate(III)Lnet/minecraft/block/pattern/CachedBlockPosition;
-
toString
- Overrides:
toString
in classObject
- Mappings:
Namespace Name Mixin selector official toString
Lchy$b;toString()Ljava/lang/String;
intermediary toString
Lnet/minecraft/class_2700$class_2702;toString()Ljava/lang/String;
named toString
Lnet/minecraft/block/pattern/BlockPattern$Result;toString()Ljava/lang/String;
-