Package net.minecraft.state
Class StateManager.Builder<O,S extends State<O,S>>
java.lang.Object
net.minecraft.state.StateManager.Builder<O,S>
public static class StateManager.Builder<O,S extends State<O,S>> extends Object
- Mappings:
Namespace Name official chu$a
intermediary net/minecraft/class_2689$class_2690
named net/minecraft/state/StateManager$Builder
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description StateManager.Builder<O,S>
add(Property<?>[] properties)
StateManager<O,S>
build(Function<O,S> ownerToStateFunction, StateManager.Factory<O,S> factory)
private <T extends Comparable<T>>
voidvalidate(Property<T> property)
-
Field Details
-
owner
- Mappings:
Namespace Name Mixin selector official a
Lchu$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
- Mappings:
Namespace Name Mixin selector official b
Lchu$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
- Mappings:
Namespace Name Mixin selector official <init>
Lchu$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
- Mappings:
Namespace Name Mixin selector official a
Lchu$a;a([Lciw;)Lchu$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
- Mappings:
Namespace Name Mixin selector official a
Lchu$a;a(Lciw;)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> ownerToStateFunction, StateManager.Factory<O,S> factory)- Mappings:
Namespace Name Mixin selector official a
Lchu$a;a(Ljava/util/function/Function;Lchu$b;)Lchu;
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;
-