Class StateManager

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

public class StateManager
extends Object
Mappings:
Namespace Name
official ama
intermediary net/minecraft/class_378
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_1501 Lnet/minecraft/class_378;field_1501: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_1502 Lnet/minecraft/class_378;field_1502: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_1503 Lnet/minecraft/class_378;field_1503:Lnet/minecraft/class_160;
      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_1504 Lnet/minecraft/class_378;field_1504: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_1505 Lnet/minecraft/class_378;field_1505: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_378;<init>(Lnet/minecraft/class_160;[Lnet/minecraft/class_392;)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_1228 Lnet/minecraft/class_378;method_1228()Lcom/google/common/collect/ImmutableList;
      named getBlockStates Lnet/minecraft/state/StateManager;getBlockStates()Lcom/google/common/collect/ImmutableList;
    • method_1232

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

      public BlockState getDefaultState()
      Mappings:
      Namespace Name Mixin selector
      official b Lama;b()Lalz;
      intermediary method_1229 Lnet/minecraft/class_378;method_1229()Lnet/minecraft/class_376;
      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_1230 Lnet/minecraft/class_378;method_1230()Lnet/minecraft/class_160;
      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_1231 Lnet/minecraft/class_378;method_1231()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_378;toString()Ljava/lang/String;
      named toString Lnet/minecraft/state/StateManager;toString()Ljava/lang/String;