Class BlockStatesLoader

java.lang.Object
net.minecraft.client.render.model.BlockStatesLoader

@Environment(CLIENT) public class BlockStatesLoader extends Object
Mappings:
Namespace Name
named net/minecraft/client/render/model/BlockStatesLoader
intermediary net/minecraft/class_9824
official gso
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/render/model/BlockStatesLoader;LOGGER:Lorg/slf4j/Logger;
      intermediary field_52261 Lnet/minecraft/class_9824;field_52261:Lorg/slf4j/Logger;
      official c Lgso;c:Lorg/slf4j/Logger;
    • field_52259

      static final int field_52259
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_52259 Lnet/minecraft/client/render/model/BlockStatesLoader;field_52259:I
      intermediary field_52259 Lnet/minecraft/class_9824;field_52259:I
      official a Lgso;a:I
    • field_52262

      private static final int field_52262
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_52262 Lnet/minecraft/client/render/model/BlockStatesLoader;field_52262:I
      intermediary field_52262 Lnet/minecraft/class_9824;field_52262:I
      official d Lgso;d:I
    • FINDER

      public static final ResourceFinder FINDER
      Mappings:
      Namespace Name Mixin selector
      named FINDER Lnet/minecraft/client/render/model/BlockStatesLoader;FINDER:Lnet/minecraft/resource/ResourceFinder;
      intermediary field_52260 Lnet/minecraft/class_9824;field_52260:Lnet/minecraft/class_7654;
      official b Lgso;b:Lakk;
    • COMMA_SPLITTER

      private static final Splitter COMMA_SPLITTER
      Mappings:
      Namespace Name Mixin selector
      named COMMA_SPLITTER Lnet/minecraft/client/render/model/BlockStatesLoader;COMMA_SPLITTER:Lcom/google/common/base/Splitter;
      intermediary field_52263 Lnet/minecraft/class_9824;field_52263:Lcom/google/common/base/Splitter;
      official e Lgso;e:Lcom/google/common/base/Splitter;
    • EQUAL_SIGN_SPLITTER

      private static final Splitter EQUAL_SIGN_SPLITTER
      Mappings:
      Namespace Name Mixin selector
      named EQUAL_SIGN_SPLITTER Lnet/minecraft/client/render/model/BlockStatesLoader;EQUAL_SIGN_SPLITTER:Lcom/google/common/base/Splitter;
      intermediary field_52264 Lnet/minecraft/class_9824;field_52264:Lcom/google/common/base/Splitter;
      official f Lgso;f:Lcom/google/common/base/Splitter;
    • ITEM_FRAME_STATE_MANAGER

      private static final StateManager<Block,BlockState> ITEM_FRAME_STATE_MANAGER
      Mappings:
      Namespace Name Mixin selector
      named ITEM_FRAME_STATE_MANAGER Lnet/minecraft/client/render/model/BlockStatesLoader;ITEM_FRAME_STATE_MANAGER:Lnet/minecraft/state/StateManager;
      intermediary field_52265 Lnet/minecraft/class_9824;field_52265:Lnet/minecraft/class_2689;
      official g Lgso;g:Ldtd;
    • STATIC_DEFINITIONS

      private static final Map<Identifier,StateManager<Block,BlockState>> STATIC_DEFINITIONS
      Mappings:
      Namespace Name Mixin selector
      named STATIC_DEFINITIONS Lnet/minecraft/client/render/model/BlockStatesLoader;STATIC_DEFINITIONS:Ljava/util/Map;
      intermediary field_52266 Lnet/minecraft/class_9824;field_52266:Ljava/util/Map;
      official h Lgso;h:Ljava/util/Map;
    • blockStates

      Mappings:
      Namespace Name Mixin selector
      named blockStates Lnet/minecraft/client/render/model/BlockStatesLoader;blockStates:Ljava/util/Map;
      intermediary field_52267 Lnet/minecraft/class_9824;field_52267:Ljava/util/Map;
      official i Lgso;i:Ljava/util/Map;
    • profiler

      private final Profiler profiler
      Mappings:
      Namespace Name Mixin selector
      named profiler Lnet/minecraft/client/render/model/BlockStatesLoader;profiler:Lnet/minecraft/util/profiler/Profiler;
      intermediary field_52268 Lnet/minecraft/class_9824;field_52268:Lnet/minecraft/class_3695;
      official j Lgso;j:Lbnf;
    • blockColors

      private final BlockColors blockColors
      Mappings:
      Namespace Name Mixin selector
      named blockColors Lnet/minecraft/client/render/model/BlockStatesLoader;blockColors:Lnet/minecraft/client/color/block/BlockColors;
      intermediary field_52269 Lnet/minecraft/class_9824;field_52269:Lnet/minecraft/class_324;
      official k Lgso;k:Lfhq;
    • onLoad

      private final BiConsumer<ModelIdentifier,UnbakedModel> onLoad
      Mappings:
      Namespace Name Mixin selector
      named onLoad Lnet/minecraft/client/render/model/BlockStatesLoader;onLoad:Ljava/util/function/BiConsumer;
      intermediary field_52270 Lnet/minecraft/class_9824;field_52270:Ljava/util/function/BiConsumer;
      official l Lgso;l:Ljava/util/function/BiConsumer;
    • lookupId

      private int lookupId
      Mappings:
      Namespace Name Mixin selector
      named lookupId Lnet/minecraft/client/render/model/BlockStatesLoader;lookupId:I
      intermediary field_52271 Lnet/minecraft/class_9824;field_52271:I
      official m Lgso;m:I
    • stateLookup

      private final Object2IntMap<BlockState> stateLookup
      Mappings:
      Namespace Name Mixin selector
      named stateLookup Lnet/minecraft/client/render/model/BlockStatesLoader;stateLookup:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      intermediary field_52272 Lnet/minecraft/class_9824;field_52272:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      official n Lgso;n:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
    • missingModel

      private final BlockStatesLoader.BlockModel missingModel
      Mappings:
      Namespace Name Mixin selector
      named missingModel Lnet/minecraft/client/render/model/BlockStatesLoader;missingModel:Lnet/minecraft/client/render/model/BlockStatesLoader$BlockModel;
      intermediary field_52273 Lnet/minecraft/class_9824;field_52273:Lnet/minecraft/class_9824$class_9825;
      official o Lgso;o:Lgso$c;
    • context

      Mappings:
      Namespace Name Mixin selector
      named context Lnet/minecraft/client/render/model/BlockStatesLoader;context:Lnet/minecraft/client/render/model/json/ModelVariantMap$DeserializationContext;
      intermediary field_52274 Lnet/minecraft/class_9824;field_52274:Lnet/minecraft/class_790$class_791;
      official p Lgso;p:Lggc$a;
  • Constructor Details

    • BlockStatesLoader

      public BlockStatesLoader(Map<Identifier,List<BlockStatesLoader.SourceTrackedData>> blockStates, Profiler profiler, UnbakedModel missingModel, BlockColors blockColors, BiConsumer<ModelIdentifier,UnbakedModel> onLoad)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/model/BlockStatesLoader;<init>(Ljava/util/Map;Lnet/minecraft/util/profiler/Profiler;Lnet/minecraft/client/render/model/UnbakedModel;Lnet/minecraft/client/color/block/BlockColors;Ljava/util/function/BiConsumer;)V
      intermediary <init> Lnet/minecraft/class_9824;<init>(Ljava/util/Map;Lnet/minecraft/class_3695;Lnet/minecraft/class_1100;Lnet/minecraft/class_324;Ljava/util/function/BiConsumer;)V
      official <init> Lgso;<init>(Ljava/util/Map;Lbnf;Lgsy;Lfhq;Ljava/util/function/BiConsumer;)V
  • Method Details

    • load

      public void load()
      Mappings:
      Namespace Name Mixin selector
      named load Lnet/minecraft/client/render/model/BlockStatesLoader;load()V
      intermediary method_61051 Lnet/minecraft/class_9824;method_61051()V
      official a Lgso;a()V
    • loadBlockStates

      private void loadBlockStates(Identifier id, StateManager<Block,BlockState> stateManager)
      Mappings:
      Namespace Name Mixin selector
      named loadBlockStates Lnet/minecraft/client/render/model/BlockStatesLoader;loadBlockStates(Lnet/minecraft/util/Identifier;Lnet/minecraft/state/StateManager;)V
      intermediary method_61053 Lnet/minecraft/class_9824;method_61053(Lnet/minecraft/class_2960;Lnet/minecraft/class_2689;)V
      official a Lgso;a(Lakr;Ldtd;)V
    • toStatePredicate

      private static Predicate<BlockState> toStatePredicate(StateManager<Block,BlockState> stateManager, String predicate)
      Mappings:
      Namespace Name Mixin selector
      named toStatePredicate Lnet/minecraft/client/render/model/BlockStatesLoader;toStatePredicate(Lnet/minecraft/state/StateManager;Ljava/lang/String;)Ljava/util/function/Predicate;
      intermediary method_61057 Lnet/minecraft/class_9824;method_61057(Lnet/minecraft/class_2689;Ljava/lang/String;)Ljava/util/function/Predicate;
      official a Lgso;a(Ldtd;Ljava/lang/String;)Ljava/util/function/Predicate;
    • parseProperty

      @Nullable static <T extends Comparable<T>> T parseProperty(Property<T> property, String value)
      Mappings:
      Namespace Name Mixin selector
      named parseProperty Lnet/minecraft/client/render/model/BlockStatesLoader;parseProperty(Lnet/minecraft/state/property/Property;Ljava/lang/String;)Ljava/lang/Comparable;
      intermediary method_61058 Lnet/minecraft/class_9824;method_61058(Lnet/minecraft/class_2769;Ljava/lang/String;)Ljava/lang/Comparable;
      official a Lgso;a(Lduf;Ljava/lang/String;)Ljava/lang/Comparable;
    • addStates

      private void addStates(Iterable<BlockState> states)
      Mappings:
      Namespace Name Mixin selector
      named addStates Lnet/minecraft/client/render/model/BlockStatesLoader;addStates(Ljava/lang/Iterable;)V
      intermediary method_61063 Lnet/minecraft/class_9824;method_61063(Ljava/lang/Iterable;)V
      official a Lgso;a(Ljava/lang/Iterable;)V
    • getStateLookup

      public Object2IntMap<BlockState> getStateLookup()
      Mappings:
      Namespace Name Mixin selector
      named getStateLookup Lnet/minecraft/client/render/model/BlockStatesLoader;getStateLookup()Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      intermediary method_61069 Lnet/minecraft/class_9824;method_61069()Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      official b Lgso;b()Lit/unimi/dsi/fastutil/objects/Object2IntMap;