Class BlockPatternBuilder

java.lang.Object
net.minecraft.block.pattern.BlockPatternBuilder

public class BlockPatternBuilder extends Object
Mappings:
Namespace Name
official djn
intermediary net/minecraft/class_2697
named net/minecraft/block/pattern/BlockPatternBuilder
  • Field Details

    • JOINER

      private static final Joiner JOINER
      Mappings:
      Namespace Name Mixin selector
      official a Ldjn;a:Lcom/google/common/base/Joiner;
      intermediary field_12340 Lnet/minecraft/class_2697;field_12340:Lcom/google/common/base/Joiner;
      named JOINER Lnet/minecraft/block/pattern/BlockPatternBuilder;JOINER:Lcom/google/common/base/Joiner;
    • aisles

      private final List<String[]> aisles
      Mappings:
      Namespace Name Mixin selector
      official b Ldjn;b:Ljava/util/List;
      intermediary field_12344 Lnet/minecraft/class_2697;field_12344:Ljava/util/List;
      named aisles Lnet/minecraft/block/pattern/BlockPatternBuilder;aisles:Ljava/util/List;
    • charMap

      private final Map<Character,Predicate<CachedBlockPosition>> charMap
      Mappings:
      Namespace Name Mixin selector
      official c Ldjn;c:Ljava/util/Map;
      intermediary field_12343 Lnet/minecraft/class_2697;field_12343:Ljava/util/Map;
      named charMap Lnet/minecraft/block/pattern/BlockPatternBuilder;charMap:Ljava/util/Map;
    • height

      private int height
      Mappings:
      Namespace Name Mixin selector
      official d Ldjn;d:I
      intermediary field_12342 Lnet/minecraft/class_2697;field_12342:I
      named height Lnet/minecraft/block/pattern/BlockPatternBuilder;height:I
    • width

      private int width
      Mappings:
      Namespace Name Mixin selector
      official e Ldjn;e:I
      intermediary field_12341 Lnet/minecraft/class_2697;field_12341:I
      named width Lnet/minecraft/block/pattern/BlockPatternBuilder;width:I
  • Constructor Details

    • BlockPatternBuilder

      private BlockPatternBuilder()
  • Method Details

    • aisle

      public BlockPatternBuilder aisle(String[] pattern)
      Mappings:
      Namespace Name Mixin selector
      official a Ldjn;a([Ljava/lang/String;)Ldjn;
      intermediary method_11702 Lnet/minecraft/class_2697;method_11702([Ljava/lang/String;)Lnet/minecraft/class_2697;
      named aisle Lnet/minecraft/block/pattern/BlockPatternBuilder;aisle([Ljava/lang/String;)Lnet/minecraft/block/pattern/BlockPatternBuilder;
    • start

      public static BlockPatternBuilder start()
      Mappings:
      Namespace Name Mixin selector
      official a Ldjn;a()Ldjn;
      intermediary method_11701 Lnet/minecraft/class_2697;method_11701()Lnet/minecraft/class_2697;
      named start Lnet/minecraft/block/pattern/BlockPatternBuilder;start()Lnet/minecraft/block/pattern/BlockPatternBuilder;
    • where

      public BlockPatternBuilder where(char key, Predicate<CachedBlockPosition> predicate)
      Mappings:
      Namespace Name Mixin selector
      official a Ldjn;a(CLjava/util/function/Predicate;)Ldjn;
      intermediary method_11700 Lnet/minecraft/class_2697;method_11700(CLjava/util/function/Predicate;)Lnet/minecraft/class_2697;
      named where Lnet/minecraft/block/pattern/BlockPatternBuilder;where(CLjava/util/function/Predicate;)Lnet/minecraft/block/pattern/BlockPatternBuilder;
    • build

      public BlockPattern build()
      Mappings:
      Namespace Name Mixin selector
      official b Ldjn;b()Ldjm;
      intermediary method_11704 Lnet/minecraft/class_2697;method_11704()Lnet/minecraft/class_2700;
      named build Lnet/minecraft/block/pattern/BlockPatternBuilder;build()Lnet/minecraft/block/pattern/BlockPattern;
    • bakePredicates

      private Predicate<CachedBlockPosition>[][][] bakePredicates()
      Mappings:
      Namespace Name Mixin selector
      official c Ldjn;c()[[[Ljava/util/function/Predicate;
      intermediary method_11703 Lnet/minecraft/class_2697;method_11703()[[[Ljava/util/function/Predicate;
      named bakePredicates Lnet/minecraft/block/pattern/BlockPatternBuilder;bakePredicates()[[[Ljava/util/function/Predicate;
    • validate

      private void validate()
      Mappings:
      Namespace Name Mixin selector
      official d Ldjn;d()V
      intermediary method_11705 Lnet/minecraft/class_2697;method_11705()V
      named validate Lnet/minecraft/block/pattern/BlockPatternBuilder;validate()V