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
-
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
-
namedProperties
-
-
Constructor Details
-
Builder
-
-
Method Details
-
add
-
validate
-
build
public StateManager<O,S> build(Function<O,S> ownerToStateFunction, StateManager.Factory<O,S> factory)
-