Class StateManager.Builder<O,S extends State<O,S>>

java.lang.Object
net.minecraft.state.StateManager.Builder<O,S>
Enclosing class:
StateManager<O,S extends State<O,S>>

public static class StateManager.Builder<O,S extends State<O,S>> extends Object
Mappings:
Namespace Name
named net/minecraft/state/StateManager$Builder
intermediary net/minecraft/class_2689$class_2690
official dtb$a
  • Field Details

    • owner

      private final O owner
      Mappings:
      Namespace Name Mixin selector
      named owner Lnet/minecraft/state/StateManager$Builder;owner:Ljava/lang/Object;
      intermediary field_12318 Lnet/minecraft/class_2689$class_2690;field_12318:Ljava/lang/Object;
      official a Ldtb$a;a:Ljava/lang/Object;
    • namedProperties

      private final Map<String,Property<?>> namedProperties
      Mappings:
      Namespace Name Mixin selector
      named namedProperties Lnet/minecraft/state/StateManager$Builder;namedProperties:Ljava/util/Map;
      intermediary field_12319 Lnet/minecraft/class_2689$class_2690;field_12319:Ljava/util/Map;
      official b Ldtb$a;b:Ljava/util/Map;
  • Constructor Details

    • Builder

      public Builder(O owner)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/state/StateManager$Builder;<init>(Ljava/lang/Object;)V
      intermediary <init> Lnet/minecraft/class_2689$class_2690;<init>(Ljava/lang/Object;)V
      official <init> Ldtb$a;<init>(Ljava/lang/Object;)V
  • Method Details

    • add

      public StateManager.Builder<O,S> add(Property<?>[] properties)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/state/StateManager$Builder;add([Lnet/minecraft/state/property/Property;)Lnet/minecraft/state/StateManager$Builder;
      intermediary method_11667 Lnet/minecraft/class_2689$class_2690;method_11667([Lnet/minecraft/class_2769;)Lnet/minecraft/class_2689$class_2690;
      official a Ldtb$a;a([Ldud;)Ldtb$a;
    • validate

      private <T extends Comparable<T>> void validate(Property<T> property)
      Mappings:
      Namespace Name Mixin selector
      named validate Lnet/minecraft/state/StateManager$Builder;validate(Lnet/minecraft/state/property/Property;)V
      intermediary method_11669 Lnet/minecraft/class_2689$class_2690;method_11669(Lnet/minecraft/class_2769;)V
      official a Ldtb$a;a(Ldud;)V
    • build

      public StateManager<O,S> build(Function<O,S> defaultStateGetter, StateManager.Factory<O,S> factory)
      Mappings:
      Namespace Name Mixin selector
      named build Lnet/minecraft/state/StateManager$Builder;build(Ljava/util/function/Function;Lnet/minecraft/state/StateManager$Factory;)Lnet/minecraft/state/StateManager;
      intermediary method_11668 Lnet/minecraft/class_2689$class_2690;method_11668(Ljava/util/function/Function;Lnet/minecraft/class_2689$class_2691;)Lnet/minecraft/class_2689;
      official a Ldtb$a;a(Ljava/util/function/Function;Ldtb$b;)Ldtb;