Package net.minecraft.block
Interface BlockState
- All Known Implementing Classes:
AbstractBlockState,StateManager.BlockStateImpl
public interface BlockState
- Mappings:
Namespace Name official alzintermediary net/minecraft/class_376named net/minecraft/block/BlockState
-
Method Summary
Modifier and Type Method Description <T extends Comparable<T>>
Tget(Property<T> property)BlockgetBlock()Collection<Property>getProperties()ImmutableMap<Property,Comparable>getPropertyMap()<T extends Comparable<T>>
BlockStatemethod_1223(Property<T> property)<T extends Comparable<T>, V extends T>
BlockStatewith(Property<T> property, V v)
-
Method Details
-
getProperties
Collection<Property> 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;
-
method_1223
- Mappings:
Namespace Name Mixin selector official aLalz;a(Lamo;)Lalz;intermediary method_1223Lnet/minecraft/class_376;method_1223(Lnet/minecraft/class_392;)Lnet/minecraft/class_376;named method_1223Lnet/minecraft/block/BlockState;method_1223(Lnet/minecraft/state/property/Property;)Lnet/minecraft/block/BlockState;
-
getPropertyMap
ImmutableMap<Property,Comparable> 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
Block 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;
-