Package net.minecraft.state
Class StateManager
java.lang.Object
net.minecraft.state.StateManager
public class StateManager extends Object
- Mappings:
Namespace Name official amaintermediary net/minecraft/class_378named net/minecraft/state/StateManager
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classStateManager.BlockStateImpl -
Field Summary
Fields Modifier and Type Field Description private static JoinerJOINERprivate BlockparentBlockprivate ImmutableList<Property>propertiesprivate static Function<Property,String>PROPERTY_STRING_FUNCTIONprivate ImmutableList<BlockState>states -
Constructor Summary
Constructors Constructor Description StateManager(Block parentBlock, Property[] properties) -
Method Summary
Modifier and Type Method Description BlockgetBlock()ImmutableList<BlockState>getBlockStates()BlockStategetDefaultState()Collection<Property>getProperties()private List<Iterable<Comparable>>method_1232()StringtoString()
-
Field Details
-
JOINER
- Mappings:
Namespace Name Mixin selector official aLama;a:Lcom/google/common/base/Joiner;intermediary field_1501Lnet/minecraft/class_378;field_1501:Lcom/google/common/base/Joiner;named JOINERLnet/minecraft/state/StateManager;JOINER:Lcom/google/common/base/Joiner;
-
PROPERTY_STRING_FUNCTION
- Mappings:
Namespace Name Mixin selector official bLama;b:Lcom/google/common/base/Function;intermediary field_1502Lnet/minecraft/class_378;field_1502:Lcom/google/common/base/Function;named PROPERTY_STRING_FUNCTIONLnet/minecraft/state/StateManager;PROPERTY_STRING_FUNCTION:Lcom/google/common/base/Function;
-
parentBlock
- Mappings:
Namespace Name Mixin selector official cLama;c:Lafh;intermediary field_1503Lnet/minecraft/class_378;field_1503:Lnet/minecraft/class_160;named parentBlockLnet/minecraft/state/StateManager;parentBlock:Lnet/minecraft/block/Block;
-
properties
- Mappings:
Namespace Name Mixin selector official dLama;d:Lcom/google/common/collect/ImmutableList;intermediary field_1504Lnet/minecraft/class_378;field_1504:Lcom/google/common/collect/ImmutableList;named propertiesLnet/minecraft/state/StateManager;properties:Lcom/google/common/collect/ImmutableList;
-
states
- Mappings:
Namespace Name Mixin selector official eLama;e:Lcom/google/common/collect/ImmutableList;intermediary field_1505Lnet/minecraft/class_378;field_1505:Lcom/google/common/collect/ImmutableList;named statesLnet/minecraft/state/StateManager;states:Lcom/google/common/collect/ImmutableList;
-
-
Constructor Details
-
StateManager
- Mappings:
Namespace Name Mixin selector official <init>Lama;<init>(Lafh;[Lamo;)Vintermediary <init>Lnet/minecraft/class_378;<init>(Lnet/minecraft/class_160;[Lnet/minecraft/class_392;)Vnamed <init>Lnet/minecraft/state/StateManager;<init>(Lnet/minecraft/block/Block;[Lnet/minecraft/state/property/Property;)V
-
-
Method Details
-
getBlockStates
- Mappings:
Namespace Name Mixin selector official aLama;a()Lcom/google/common/collect/ImmutableList;intermediary method_1228Lnet/minecraft/class_378;method_1228()Lcom/google/common/collect/ImmutableList;named getBlockStatesLnet/minecraft/state/StateManager;getBlockStates()Lcom/google/common/collect/ImmutableList;
-
method_1232
- Mappings:
Namespace Name Mixin selector official eLama;e()Ljava/util/List;intermediary method_1232Lnet/minecraft/class_378;method_1232()Ljava/util/List;named method_1232Lnet/minecraft/state/StateManager;method_1232()Ljava/util/List;
-
getDefaultState
- Mappings:
Namespace Name Mixin selector official bLama;b()Lalz;intermediary method_1229Lnet/minecraft/class_378;method_1229()Lnet/minecraft/class_376;named getDefaultStateLnet/minecraft/state/StateManager;getDefaultState()Lnet/minecraft/block/BlockState;
-
getBlock
- Mappings:
Namespace Name Mixin selector official cLama;c()Lafh;intermediary method_1230Lnet/minecraft/class_378;method_1230()Lnet/minecraft/class_160;named getBlockLnet/minecraft/state/StateManager;getBlock()Lnet/minecraft/block/Block;
-
getProperties
- Mappings:
Namespace Name Mixin selector official dLama;d()Ljava/util/Collection;intermediary method_1231Lnet/minecraft/class_378;method_1231()Ljava/util/Collection;named getPropertiesLnet/minecraft/state/StateManager;getProperties()Ljava/util/Collection;
-
toString
-