类 BlockPattern.Result
- java.lang.Object
-
- net.minecraft.block.pattern.BlockPattern.Result
-
- 封闭类:
- BlockPattern
public static class BlockPattern.Result extends Object
- Mappings:
Namespace Name official cjw$bintermediary net/minecraft/class_2700$class_2702named net/minecraft/block/pattern/BlockPattern$Result
-
-
字段概要
字段 修饰符和类型 字段 说明 private LoadingCache<BlockPos,CachedBlockPosition>cacheprivate intdepthprivate Directionforwardsprivate BlockPosfrontTopLeftprivate intheightprivate Directionupprivate intwidth
-
构造器概要
构造器 构造器 说明 Result(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos,CachedBlockPosition> cache, int width, int height, int depth)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intgetDepth()DirectiongetForwards()BlockPosgetFrontTopLeft()intgetHeight()DirectiongetUp()intgetWidth()StringtoString()CachedBlockPositiontranslate(int offsetLeft, int offsetDown, int offsetForwards)
-
-
-
字段详细资料
-
frontTopLeft
private final BlockPos frontTopLeft
- Mappings:
Namespace Name Mixin selector official aLcjw$b;a:Lgb;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
private final Direction forwards
- Mappings:
Namespace Name Mixin selector official bLcjw$b;b:Lgg;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
private final Direction up
- Mappings:
Namespace Name Mixin selector official cLcjw$b;c:Lgg;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
private final LoadingCache<BlockPos,CachedBlockPosition> cache
- Mappings:
Namespace Name Mixin selector official dLcjw$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 eLcjw$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 fLcjw$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 gLcjw$b;g:Iintermediary field_12361Lnet/minecraft/class_2700$class_2702;field_12361:Inamed depthLnet/minecraft/block/pattern/BlockPattern$Result;depth:I
-
-
构造器详细资料
-
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>Lcjw$b;<init>(Lgb;Lgg;Lgg;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
-
-
方法详细资料
-
getFrontTopLeft
public BlockPos getFrontTopLeft()
- Mappings:
Namespace Name Mixin selector official aLcjw$b;a()Lgb;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
public Direction getForwards()
- Mappings:
Namespace Name Mixin selector official bLcjw$b;b()Lgg;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
public Direction getUp()
- Mappings:
Namespace Name Mixin selector official cLcjw$b;c()Lgg;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;
-
getWidth
public int getWidth()
- Mappings:
Namespace Name Mixin selector official dLcjw$b;d()Iintermediary method_35302Lnet/minecraft/class_2700$class_2702;method_35302()Inamed getWidthLnet/minecraft/block/pattern/BlockPattern$Result;getWidth()I
-
getHeight
public int getHeight()
- Mappings:
Namespace Name Mixin selector official eLcjw$b;e()Iintermediary method_35303Lnet/minecraft/class_2700$class_2702;method_35303()Inamed getHeightLnet/minecraft/block/pattern/BlockPattern$Result;getHeight()I
-
getDepth
public int getDepth()
- Mappings:
Namespace Name Mixin selector official fLcjw$b;f()Iintermediary method_35304Lnet/minecraft/class_2700$class_2702;method_35304()Inamed getDepthLnet/minecraft/block/pattern/BlockPattern$Result;getDepth()I
-
translate
public CachedBlockPosition translate(int offsetLeft, int offsetDown, int offsetForwards)
- Mappings:
Namespace Name Mixin selector official aLcjw$b;a(III)Lcjv;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
public String toString()
-
-