Interface BlockState

All Known Implementing Classes:
AbstractBlockState, StateManager.BlockStateImpl

public interface BlockState
Mappings:
Namespace Name
official alz
intermediary net/minecraft/class_2232
named net/minecraft/block/BlockState
  • Method Details

    • getProperties

      Collection<Property> getProperties()
      Mappings:
      Namespace Name Mixin selector
      official a Lalz;a()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 b Lalz;b(Lamo;)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 Lalz;a(Lamo;Ljava/lang/Comparable;)Lalz;
      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 Lalz;a(Lamo;)Lalz;
      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 b Lalz;b()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 c Lalz;c()Lafh;
      intermediary method_9028 Lnet/minecraft/class_2232;method_9028()Lnet/minecraft/class_197;
      named getBlock Lnet/minecraft/block/BlockState;getBlock()Lnet/minecraft/block/Block;