Class StateManager

java.lang.Object
net.minecraft.state.StateManager

public class StateManager extends Object
Mappings:
Namespace Name
official ama
intermediary net/minecraft/class_2233
named net/minecraft/state/StateManager
  • Field Details

    • JOINER

      private static final Joiner JOINER
      Mappings:
      Namespace Name Mixin selector
      official a Lama;a:Lcom/google/common/base/Joiner;
      intermediary field_9885 Lnet/minecraft/class_2233;field_9885:Lcom/google/common/base/Joiner;
      named JOINER Lnet/minecraft/state/StateManager;JOINER:Lcom/google/common/base/Joiner;
    • PROPERTY_STRING_FUNCTION

      private static final Function<Property,String> PROPERTY_STRING_FUNCTION
      Mappings:
      Namespace Name Mixin selector
      official b Lama;b:Lcom/google/common/base/Function;
      intermediary field_9886 Lnet/minecraft/class_2233;field_9886:Lcom/google/common/base/Function;
      named PROPERTY_STRING_FUNCTION Lnet/minecraft/state/StateManager;PROPERTY_STRING_FUNCTION:Lcom/google/common/base/Function;
    • parentBlock

      private final Block parentBlock
      Mappings:
      Namespace Name Mixin selector
      official c Lama;c:Lafh;
      intermediary field_9887 Lnet/minecraft/class_2233;field_9887:Lnet/minecraft/class_197;
      named parentBlock Lnet/minecraft/state/StateManager;parentBlock:Lnet/minecraft/block/Block;
    • properties

      private final ImmutableList<Property> properties
      Mappings:
      Namespace Name Mixin selector
      official d Lama;d:Lcom/google/common/collect/ImmutableList;
      intermediary field_9888 Lnet/minecraft/class_2233;field_9888:Lcom/google/common/collect/ImmutableList;
      named properties Lnet/minecraft/state/StateManager;properties:Lcom/google/common/collect/ImmutableList;
    • states

      private final ImmutableList<BlockState> states
      Mappings:
      Namespace Name Mixin selector
      official e Lama;e:Lcom/google/common/collect/ImmutableList;
      intermediary field_9889 Lnet/minecraft/class_2233;field_9889:Lcom/google/common/collect/ImmutableList;
      named states Lnet/minecraft/state/StateManager;states:Lcom/google/common/collect/ImmutableList;
  • Constructor Details

    • StateManager

      public StateManager(Block parentBlock, Property[] properties)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lama;<init>(Lafh;[Lamo;)V
      intermediary <init> Lnet/minecraft/class_2233;<init>(Lnet/minecraft/class_197;[Lnet/minecraft/class_2247;)V
      named <init> Lnet/minecraft/state/StateManager;<init>(Lnet/minecraft/block/Block;[Lnet/minecraft/state/property/Property;)V
  • Method Details

    • getBlockStates

      public ImmutableList<BlockState> getBlockStates()
      Mappings:
      Namespace Name Mixin selector
      official a Lama;a()Lcom/google/common/collect/ImmutableList;
      intermediary method_9029 Lnet/minecraft/class_2233;method_9029()Lcom/google/common/collect/ImmutableList;
      named getBlockStates Lnet/minecraft/state/StateManager;getBlockStates()Lcom/google/common/collect/ImmutableList;
    • method_9033

      private List<Iterable<Comparable>> method_9033()
      Mappings:
      Namespace Name Mixin selector
      official e Lama;e()Ljava/util/List;
      intermediary method_9033 Lnet/minecraft/class_2233;method_9033()Ljava/util/List;
      named method_9033 Lnet/minecraft/state/StateManager;method_9033()Ljava/util/List;
    • getDefaultState

      public BlockState getDefaultState()
      Mappings:
      Namespace Name Mixin selector
      official b Lama;b()Lalz;
      intermediary method_9030 Lnet/minecraft/class_2233;method_9030()Lnet/minecraft/class_2232;
      named getDefaultState Lnet/minecraft/state/StateManager;getDefaultState()Lnet/minecraft/block/BlockState;
    • getBlock

      public Block getBlock()
      Mappings:
      Namespace Name Mixin selector
      official c Lama;c()Lafh;
      intermediary method_9031 Lnet/minecraft/class_2233;method_9031()Lnet/minecraft/class_197;
      named getBlock Lnet/minecraft/state/StateManager;getBlock()Lnet/minecraft/block/Block;
    • getProperties

      public Collection<Property> getProperties()
      Mappings:
      Namespace Name Mixin selector
      official d Lama;d()Ljava/util/Collection;
      intermediary method_9032 Lnet/minecraft/class_2233;method_9032()Ljava/util/Collection;
      named getProperties Lnet/minecraft/state/StateManager;getProperties()Ljava/util/Collection;
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Mappings:
      Namespace Name Mixin selector
      official toString Lama;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_2233;toString()Ljava/lang/String;
      named toString Lnet/minecraft/state/StateManager;toString()Ljava/lang/String;