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 dcg$b
intermediary net/minecraft/class_2700$class_2702
named net/minecraft/block/pattern/BlockPattern$Result
  • Field Details

    • frontTopLeft

      private final BlockPos frontTopLeft
      Mappings:
      Namespace Name Mixin selector
      official a Ldcg$b;a:Lgu;
      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

      private final Direction forwards
      Mappings:
      Namespace Name Mixin selector
      official b Ldcg$b;b:Lha;
      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

      private final Direction up
      Mappings:
      Namespace Name Mixin selector
      official c Ldcg$b;c:Lha;
      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 Ldcg$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 Ldcg$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 Ldcg$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 Ldcg$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> Ldcg$b;<init>(Lgu;Lha;Lha;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

      public BlockPos getFrontTopLeft()
      Mappings:
      Namespace Name Mixin selector
      official a Ldcg$b;a()Lgu;
      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

      public Direction getForwards()
      Mappings:
      Namespace Name Mixin selector
      official b Ldcg$b;b()Lha;
      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

      public Direction getUp()
      Mappings:
      Namespace Name Mixin selector
      official c Ldcg$b;c()Lha;
      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;
    • getWidth

      public int getWidth()
      Mappings:
      Namespace Name Mixin selector
      official d Ldcg$b;d()I
      intermediary method_35302 Lnet/minecraft/class_2700$class_2702;method_35302()I
      named getWidth Lnet/minecraft/block/pattern/BlockPattern$Result;getWidth()I
    • getHeight

      public int getHeight()
      Mappings:
      Namespace Name Mixin selector
      official e Ldcg$b;e()I
      intermediary method_35303 Lnet/minecraft/class_2700$class_2702;method_35303()I
      named getHeight Lnet/minecraft/block/pattern/BlockPattern$Result;getHeight()I
    • getDepth

      public int getDepth()
      Mappings:
      Namespace Name Mixin selector
      official f Ldcg$b;f()I
      intermediary method_35304 Lnet/minecraft/class_2700$class_2702;method_35304()I
      named getDepth Lnet/minecraft/block/pattern/BlockPattern$Result;getDepth()I
    • translate

      public CachedBlockPosition translate(int offsetLeft, int offsetDown, int offsetForwards)
      Mappings:
      Namespace Name Mixin selector
      official a Ldcg$b;a(III)Ldcf;
      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

      public String toString()
      Overrides:
      toString in class Object