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 Details

    • frontTopLeft

      private final BlockPos 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

      private final Direction 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

      private final 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

      private final LoadingCache<BlockPos,​CachedBlockPosition> 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

      public BlockPos 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

      public Direction 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

      public 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

      public CachedBlockPosition translate​(int offsetLeft, int offsetDown, int offsetForwards)
      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

      public String toString()
      Overrides:
      toString in class Object
      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;