Package net.minecraft.block.pattern
Class BlockPattern
java.lang.Object
net.minecraft.block.pattern.BlockPattern
- Mappings:
Namespace Name named net/minecraft/block/pattern/BlockPatternintermediary net/minecraft/class_2700official dth
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetDepth()intPredicate<CachedBlockPosition>[][][]intgetWidth()static LoadingCache<BlockPos, CachedBlockPosition> searchAround(WorldView world, BlockPos pos) private @Nullable BlockPattern.ResulttestTransform(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos, CachedBlockPosition> cache) testTransform(WorldView world, BlockPos frontTopLeft, Direction forwards, Direction up) protected static BlockPostranslate(BlockPos pos, Direction forwards, Direction up, int offsetLeft, int offsetDown, int offsetForwards)
-
Field Details
-
pattern
- Mappings:
Namespace Name Mixin selector named patternLnet/minecraft/block/pattern/BlockPattern;pattern:[[[Ljava/util/function/Predicate;intermediary field_12358Lnet/minecraft/class_2700;field_12358:[[[Ljava/util/function/Predicate;official aLdth;a:[[[Ljava/util/function/Predicate;
-
depth
private final int depth- Mappings:
Namespace Name Mixin selector named depthLnet/minecraft/block/pattern/BlockPattern;depth:Iintermediary field_12357Lnet/minecraft/class_2700;field_12357:Iofficial bLdth;b:I
-
height
private final int height- Mappings:
Namespace Name Mixin selector named heightLnet/minecraft/block/pattern/BlockPattern;height:Iintermediary field_12356Lnet/minecraft/class_2700;field_12356:Iofficial cLdth;c:I
-
width
private final int width- Mappings:
Namespace Name Mixin selector named widthLnet/minecraft/block/pattern/BlockPattern;width:Iintermediary field_12355Lnet/minecraft/class_2700;field_12355:Iofficial dLdth;d:I
-
-
Constructor Details
-
BlockPattern
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/block/pattern/BlockPattern;<init>([[[Ljava/util/function/Predicate;)Vintermediary <init>Lnet/minecraft/class_2700;<init>([[[Ljava/util/function/Predicate;)Vofficial <init>Ldth;<init>([[[Ljava/util/function/Predicate;)V
-
-
Method Details
-
getDepth
public int getDepth()- Mappings:
Namespace Name Mixin selector named getDepthLnet/minecraft/block/pattern/BlockPattern;getDepth()Iintermediary method_11712Lnet/minecraft/class_2700;method_11712()Iofficial aLdth;a()I
-
getHeight
public int getHeight()- Mappings:
Namespace Name Mixin selector named getHeightLnet/minecraft/block/pattern/BlockPattern;getHeight()Iintermediary method_11713Lnet/minecraft/class_2700;method_11713()Iofficial bLdth;b()I
-
getWidth
public int getWidth()- Mappings:
Namespace Name Mixin selector named getWidthLnet/minecraft/block/pattern/BlockPattern;getWidth()Iintermediary method_11710Lnet/minecraft/class_2700;method_11710()Iofficial cLdth;c()I
-
getPattern
- Mappings:
Namespace Name Mixin selector named getPatternLnet/minecraft/block/pattern/BlockPattern;getPattern()[[[Ljava/util/function/Predicate;intermediary method_35301Lnet/minecraft/class_2700;method_35301()[[[Ljava/util/function/Predicate;official dLdth;d()[[[Ljava/util/function/Predicate;
-
testTransform
@Nullable public @Nullable BlockPattern.Result testTransform(WorldView world, BlockPos frontTopLeft, Direction forwards, Direction up) - Mappings:
Namespace Name Mixin selector named testTransformLnet/minecraft/block/pattern/BlockPattern;testTransform(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/block/pattern/BlockPattern$Result;intermediary method_35300Lnet/minecraft/class_2700;method_35300(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;)Lnet/minecraft/class_2700$class_2702;official aLdth;a(Ldcz;Ljd;Lji;Lji;)Ldth$b;
-
testTransform
@Nullable private @Nullable BlockPattern.Result testTransform(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos, CachedBlockPosition> cache) - Mappings:
Namespace Name Mixin selector named testTransformLnet/minecraft/block/pattern/BlockPattern;testTransform(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;Lcom/google/common/cache/LoadingCache;)Lnet/minecraft/block/pattern/BlockPattern$Result;intermediary method_11711Lnet/minecraft/class_2700;method_11711(Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;Lcom/google/common/cache/LoadingCache;)Lnet/minecraft/class_2700$class_2702;official aLdth;a(Ljd;Lji;Lji;Lcom/google/common/cache/LoadingCache;)Ldth$b;
-
searchAround
- Mappings:
Namespace Name Mixin selector named searchAroundLnet/minecraft/block/pattern/BlockPattern;searchAround(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/pattern/BlockPattern$Result;intermediary method_11708Lnet/minecraft/class_2700;method_11708(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2700$class_2702;official aLdth;a(Ldcz;Ljd;)Ldth$b;
-
makeCache
public static LoadingCache<BlockPos,CachedBlockPosition> makeCache(WorldView world, boolean forceLoad) - Mappings:
Namespace Name Mixin selector named makeCacheLnet/minecraft/block/pattern/BlockPattern;makeCache(Lnet/minecraft/world/WorldView;Z)Lcom/google/common/cache/LoadingCache;intermediary method_11709Lnet/minecraft/class_2700;method_11709(Lnet/minecraft/class_4538;Z)Lcom/google/common/cache/LoadingCache;official aLdth;a(Ldcz;Z)Lcom/google/common/cache/LoadingCache;
-
translate
protected static BlockPos translate(BlockPos pos, Direction forwards, Direction up, int offsetLeft, int offsetDown, int offsetForwards) - Mappings:
Namespace Name Mixin selector named translateLnet/minecraft/block/pattern/BlockPattern;translate(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;III)Lnet/minecraft/util/math/BlockPos;intermediary method_11707Lnet/minecraft/class_2700;method_11707(Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;III)Lnet/minecraft/class_2338;official aLdth;a(Ljd;Lji;Lji;III)Ljd;
-