Interface BlockState

All Superinterfaces:
BaseBlockState, class_2741
All Known Implementing Classes:
AbstractBlockState, StateManager.BlockStateImpl

public interface BlockState extends class_2741, BaseBlockState
Mappings:
Namespace Name
official ard
intermediary net/minecraft/class_2232
named net/minecraft/block/BlockState
  • Method Details

    • getProperties

      Collection<Property<?>> getProperties()
      Mappings:
      Namespace Name Mixin selector
      official r Lard;r()Ljava/util/Collection;
      intermediary method_9023 Lnet/minecraft/class_2232;method_9023()Ljava/util/Collection;
      named getProperties Lnet/minecraft/block/BlockState;getProperties()Ljava/util/Collection;
    • get

      <T extends Comparable<T>> T get(Property<T> property)
      Mappings:
      Namespace Name Mixin selector
      official c Lard;c(Lars;)Ljava/lang/Comparable;
      intermediary method_9027 Lnet/minecraft/class_2232;method_9027(Lnet/minecraft/class_2247;)Ljava/lang/Comparable;
      named get Lnet/minecraft/block/BlockState;get(Lnet/minecraft/state/property/Property;)Ljava/lang/Comparable;
    • with

      <T extends Comparable<T>, V extends T> BlockState with(Property<T> property, V v)
      Mappings:
      Namespace Name Mixin selector
      official a Lard;a(Lars;Ljava/lang/Comparable;)Lard;
      intermediary method_9025 Lnet/minecraft/class_2232;method_9025(Lnet/minecraft/class_2247;Ljava/lang/Comparable;)Lnet/minecraft/class_2232;
      named with Lnet/minecraft/block/BlockState;with(Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;)Lnet/minecraft/block/BlockState;
    • method_9024

      <T extends Comparable<T>> BlockState method_9024(Property<T> property)
      Mappings:
      Namespace Name Mixin selector
      official a Lard;a(Lars;)Lard;
      intermediary method_9024 Lnet/minecraft/class_2232;method_9024(Lnet/minecraft/class_2247;)Lnet/minecraft/class_2232;
      named method_9024 Lnet/minecraft/block/BlockState;method_9024(Lnet/minecraft/state/property/Property;)Lnet/minecraft/block/BlockState;
    • getPropertyMap

      ImmutableMap<Property<?>,Comparable<?>> getPropertyMap()
      Mappings:
      Namespace Name Mixin selector
      official s Lard;s()Lcom/google/common/collect/ImmutableMap;
      intermediary method_9026 Lnet/minecraft/class_2232;method_9026()Lcom/google/common/collect/ImmutableMap;
      named getPropertyMap Lnet/minecraft/block/BlockState;getPropertyMap()Lcom/google/common/collect/ImmutableMap;
    • getBlock

      Block getBlock()
      Mappings:
      Namespace Name Mixin selector
      official t Lard;t()Lajt;
      intermediary method_9028 Lnet/minecraft/class_2232;method_9028()Lnet/minecraft/class_197;
      named getBlock Lnet/minecraft/block/BlockState;getBlock()Lnet/minecraft/block/Block;