Package net.minecraft.state
Class StateManager.BlockStateImpl
java.lang.Object
net.minecraft.block.AbstractBlockState
net.minecraft.state.StateManager.BlockStateImpl
- All Implemented Interfaces:
BlockState
- Enclosing class:
- StateManager
static class StateManager.BlockStateImpl extends AbstractBlockState
- Mappings:
Namespace Name official ama$aintermediary net/minecraft/class_378$class_379named net/minecraft/state/StateManager$BlockStateImpl
-
Field Summary
Fields Modifier and Type Field Description private Blockblockprivate ImmutableMap<Property,Comparable>mapprivate ImmutableTable<Property,Comparable,BlockState>table -
Constructor Summary
Constructors Modifier Constructor Description privateBlockStateImpl(Block block, ImmutableMap<Property,Comparable> map) -
Method Summary
Modifier and Type Method Description booleanequals(Object object)<T extends Comparable<T>>
Tget(Property<T> property)BlockgetBlock()Collection<Property>getProperties()ImmutableMap<Property,Comparable>getPropertyMap()inthashCode()voidmethod_1235(Map<Map<Property,Comparable>,StateManager.BlockStateImpl> map)private Map<Property,Comparable>method_1236(Property property, Comparable comparable)<T extends Comparable<T>, V extends T>
BlockStatewith(Property<T> property, V v)Methods inherited from class net.minecraft.block.AbstractBlockState
method_1220, method_1223, toString
-
Field Details
-
block
- Mappings:
Namespace Name Mixin selector official aLama$a;a:Lafh;intermediary field_1507Lnet/minecraft/class_378$class_379;field_1507:Lnet/minecraft/class_160;named blockLnet/minecraft/state/StateManager$BlockStateImpl;block:Lnet/minecraft/block/Block;
-
map
- Mappings:
Namespace Name Mixin selector official bLama$a;b:Lcom/google/common/collect/ImmutableMap;intermediary field_1508Lnet/minecraft/class_378$class_379;field_1508:Lcom/google/common/collect/ImmutableMap;named mapLnet/minecraft/state/StateManager$BlockStateImpl;map:Lcom/google/common/collect/ImmutableMap;
-
table
- Mappings:
Namespace Name Mixin selector official cLama$a;c:Lcom/google/common/collect/ImmutableTable;intermediary field_1509Lnet/minecraft/class_378$class_379;field_1509:Lcom/google/common/collect/ImmutableTable;named tableLnet/minecraft/state/StateManager$BlockStateImpl;table:Lcom/google/common/collect/ImmutableTable;
-
-
Constructor Details
-
BlockStateImpl
- Mappings:
Namespace Name Mixin selector official <init>Lama$a;<init>(Lafh;Lcom/google/common/collect/ImmutableMap;)Vintermediary <init>Lnet/minecraft/class_378$class_379;<init>(Lnet/minecraft/class_160;Lcom/google/common/collect/ImmutableMap;)Vnamed <init>Lnet/minecraft/state/StateManager$BlockStateImpl;<init>(Lnet/minecraft/block/Block;Lcom/google/common/collect/ImmutableMap;)V
-
-
Method Details
-
getProperties
- Mappings:
Namespace Name Mixin selector official aLalz;a()Ljava/util/Collection;intermediary method_1222Lnet/minecraft/class_376;method_1222()Ljava/util/Collection;named getPropertiesLnet/minecraft/block/BlockState;getProperties()Ljava/util/Collection;
-
get
- Mappings:
Namespace Name Mixin selector official bLalz;b(Lamo;)Ljava/lang/Comparable;intermediary method_1226Lnet/minecraft/class_376;method_1226(Lnet/minecraft/class_392;)Ljava/lang/Comparable;named getLnet/minecraft/block/BlockState;get(Lnet/minecraft/state/property/Property;)Ljava/lang/Comparable;
-
with
- Mappings:
Namespace Name Mixin selector official aLalz;a(Lamo;Ljava/lang/Comparable;)Lalz;intermediary method_1224Lnet/minecraft/class_376;method_1224(Lnet/minecraft/class_392;Ljava/lang/Comparable;)Lnet/minecraft/class_376;named withLnet/minecraft/block/BlockState;with(Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;)Lnet/minecraft/block/BlockState;
-
getPropertyMap
- Mappings:
Namespace Name Mixin selector official bLalz;b()Lcom/google/common/collect/ImmutableMap;intermediary method_1225Lnet/minecraft/class_376;method_1225()Lcom/google/common/collect/ImmutableMap;named getPropertyMapLnet/minecraft/block/BlockState;getPropertyMap()Lcom/google/common/collect/ImmutableMap;
-
getBlock
- Mappings:
Namespace Name Mixin selector official cLalz;c()Lafh;intermediary method_1227Lnet/minecraft/class_376;method_1227()Lnet/minecraft/class_160;named getBlockLnet/minecraft/block/BlockState;getBlock()Lnet/minecraft/block/Block;
-
equals
-
hashCode
public int hashCode() -
method_1235
- Mappings:
Namespace Name Mixin selector official aLama$a;a(Ljava/util/Map;)Vintermediary method_1235Lnet/minecraft/class_378$class_379;method_1235(Ljava/util/Map;)Vnamed method_1235Lnet/minecraft/state/StateManager$BlockStateImpl;method_1235(Ljava/util/Map;)V
-
method_1236
- Mappings:
Namespace Name Mixin selector official bLama$a;b(Lamo;Ljava/lang/Comparable;)Ljava/util/Map;intermediary method_1236Lnet/minecraft/class_378$class_379;method_1236(Lnet/minecraft/class_392;Ljava/lang/Comparable;)Ljava/util/Map;named method_1236Lnet/minecraft/state/StateManager$BlockStateImpl;method_1236(Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;)Ljava/util/Map;
-