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
official cnw$a
intermediary net/minecraft/class_2689$class_2690
named net/minecraft/state/StateManager$Builder
  • Field Details

    • owner

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

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

    • Builder

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

    • add

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

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

      public StateManager<O,S> build(Function<O,S> defaultStateGetter, StateManager.Factory<O,S> factory)
      Mappings:
      Namespace Name Mixin selector
      official a Lcnw$a;a(Ljava/util/function/Function;Lcnw$b;)Lcnw;
      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;
      named build Lnet/minecraft/state/StateManager$Builder;build(Ljava/util/function/Function;Lnet/minecraft/state/StateManager$Factory;)Lnet/minecraft/state/StateManager;