Interface BlockState

All Known Implementing Classes:
AbstractBlockState, StateManager.BlockStateImpl

public interface BlockState
Mappings:
Namespace Name
official alz
intermediary net/minecraft/class_376
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_1222 Lnet/minecraft/class_376;method_1222()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_1226 Lnet/minecraft/class_376;method_1226(Lnet/minecraft/class_392;)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_1224 Lnet/minecraft/class_376;method_1224(Lnet/minecraft/class_392;Ljava/lang/Comparable;)Lnet/minecraft/class_376;
      named with Lnet/minecraft/block/BlockState;with(Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;)Lnet/minecraft/block/BlockState;
    • method_1223

      <T extends Comparable<T>> BlockState method_1223​(Property<T> property)
      Mappings:
      Namespace Name Mixin selector
      official a Lalz;a(Lamo;)Lalz;
      intermediary method_1223 Lnet/minecraft/class_376;method_1223(Lnet/minecraft/class_392;)Lnet/minecraft/class_376;
      named method_1223 Lnet/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 b Lalz;b()Lcom/google/common/collect/ImmutableMap;
      intermediary method_1225 Lnet/minecraft/class_376;method_1225()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_1227 Lnet/minecraft/class_376;method_1227()Lnet/minecraft/class_160;
      named getBlock Lnet/minecraft/block/BlockState;getBlock()Lnet/minecraft/block/Block;