Class ModelLoader

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

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

    • FIRE_0

      public static final SpriteIdentifier FIRE_0
      Mappings:
      Namespace Name Mixin selector
      official a Lfbh;a:Lfbg;
      intermediary field_5397 Lnet/minecraft/class_1088;field_5397:Lnet/minecraft/class_4730;
      named FIRE_0 Lnet/minecraft/client/render/model/ModelLoader;FIRE_0:Lnet/minecraft/client/util/SpriteIdentifier;
    • FIRE_1

      public static final SpriteIdentifier FIRE_1
      Mappings:
      Namespace Name Mixin selector
      official b Lfbh;b:Lfbg;
      intermediary field_5370 Lnet/minecraft/class_1088;field_5370:Lnet/minecraft/class_4730;
      named FIRE_1 Lnet/minecraft/client/render/model/ModelLoader;FIRE_1:Lnet/minecraft/client/util/SpriteIdentifier;
    • LAVA_FLOW

      public static final SpriteIdentifier LAVA_FLOW
      Mappings:
      Namespace Name Mixin selector
      official c Lfbh;c:Lfbg;
      intermediary field_5381 Lnet/minecraft/class_1088;field_5381:Lnet/minecraft/class_4730;
      named LAVA_FLOW Lnet/minecraft/client/render/model/ModelLoader;LAVA_FLOW:Lnet/minecraft/client/util/SpriteIdentifier;
    • WATER_FLOW

      public static final SpriteIdentifier WATER_FLOW
      Mappings:
      Namespace Name Mixin selector
      official d Lfbh;d:Lfbg;
      intermediary field_5391 Lnet/minecraft/class_1088;field_5391:Lnet/minecraft/class_4730;
      named WATER_FLOW Lnet/minecraft/client/render/model/ModelLoader;WATER_FLOW:Lnet/minecraft/client/util/SpriteIdentifier;
    • WATER_OVERLAY

      public static final SpriteIdentifier WATER_OVERLAY
      Mappings:
      Namespace Name Mixin selector
      official e Lfbh;e:Lfbg;
      intermediary field_5388 Lnet/minecraft/class_1088;field_5388:Lnet/minecraft/class_4730;
      named WATER_OVERLAY Lnet/minecraft/client/render/model/ModelLoader;WATER_OVERLAY:Lnet/minecraft/client/util/SpriteIdentifier;
    • SHIELD_BASE

      public static final SpriteIdentifier SHIELD_BASE
      Mappings:
      Namespace Name Mixin selector
      official g Lfbh;g:Lfbg;
      intermediary field_21557 Lnet/minecraft/class_1088;field_21557:Lnet/minecraft/class_4730;
      named SHIELD_BASE Lnet/minecraft/client/render/model/ModelLoader;SHIELD_BASE:Lnet/minecraft/client/util/SpriteIdentifier;
    • SHIELD_BASE_NO_PATTERN

      public static final SpriteIdentifier SHIELD_BASE_NO_PATTERN
      Mappings:
      Namespace Name Mixin selector
      official h Lfbh;h:Lfbg;
      intermediary field_21558 Lnet/minecraft/class_1088;field_21558:Lnet/minecraft/class_4730;
      named SHIELD_BASE_NO_PATTERN Lnet/minecraft/client/render/model/ModelLoader;SHIELD_BASE_NO_PATTERN:Lnet/minecraft/client/util/SpriteIdentifier;
    • field_32983

      public static final int field_32983
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official i Lfbh;i:I
      intermediary field_32983 Lnet/minecraft/class_1088;field_32983:I
      named field_32983 Lnet/minecraft/client/render/model/ModelLoader;field_32983:I
    • BLOCK_DESTRUCTION_STAGES

      public static final List<Identifier> BLOCK_DESTRUCTION_STAGES
      Mappings:
      Namespace Name Mixin selector
      official j Lfbh;j:Ljava/util/List;
      intermediary field_20848 Lnet/minecraft/class_1088;field_20848:Ljava/util/List;
      named BLOCK_DESTRUCTION_STAGES Lnet/minecraft/client/render/model/ModelLoader;BLOCK_DESTRUCTION_STAGES:Ljava/util/List;
    • BLOCK_DESTRUCTION_STAGE_TEXTURES

      public static final List<Identifier> BLOCK_DESTRUCTION_STAGE_TEXTURES
      Mappings:
      Namespace Name Mixin selector
      official k Lfbh;k:Ljava/util/List;
      intermediary field_21020 Lnet/minecraft/class_1088;field_21020:Ljava/util/List;
      named BLOCK_DESTRUCTION_STAGE_TEXTURES Lnet/minecraft/client/render/model/ModelLoader;BLOCK_DESTRUCTION_STAGE_TEXTURES:Ljava/util/List;
    • BLOCK_DESTRUCTION_RENDER_LAYERS

      public static final List<RenderLayer> BLOCK_DESTRUCTION_RENDER_LAYERS
      Mappings:
      Namespace Name Mixin selector
      official l Lfbh;l:Ljava/util/List;
      intermediary field_21772 Lnet/minecraft/class_1088;field_21772:Ljava/util/List;
      named BLOCK_DESTRUCTION_RENDER_LAYERS Lnet/minecraft/client/render/model/ModelLoader;BLOCK_DESTRUCTION_RENDER_LAYERS:Ljava/util/List;
    • DEFAULT_TEXTURES

      private static final Set<SpriteIdentifier> DEFAULT_TEXTURES
      Mappings:
      Namespace Name Mixin selector
      official r Lfbh;r:Ljava/util/Set;
      intermediary field_5378 Lnet/minecraft/class_1088;field_5378:Ljava/util/Set;
      named DEFAULT_TEXTURES Lnet/minecraft/client/render/model/ModelLoader;DEFAULT_TEXTURES:Ljava/util/Set;
    • field_32984

      static final int field_32984
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official m Lfbh;m:I
      intermediary field_32984 Lnet/minecraft/class_1088;field_32984:I
      named field_32984 Lnet/minecraft/client/render/model/ModelLoader;field_32984:I
    • field_32985

      private static final int field_32985
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official s Lfbh;s:I
      intermediary field_32985 Lnet/minecraft/class_1088;field_32985:I
      named field_32985 Lnet/minecraft/client/render/model/ModelLoader;field_32985:I
    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official t Lfbh;t:Lorg/apache/logging/log4j/Logger;
      intermediary field_5380 Lnet/minecraft/class_1088;field_5380:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/render/model/ModelLoader;LOGGER:Lorg/apache/logging/log4j/Logger;
    • BUILTIN

      private static final String BUILTIN
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official u Lfbh;u:Ljava/lang/String;
      intermediary field_32986 Lnet/minecraft/class_1088;field_32986:Ljava/lang/String;
      named BUILTIN Lnet/minecraft/client/render/model/ModelLoader;BUILTIN:Ljava/lang/String;
    • BUILTIN_GENERATED

      private static final String BUILTIN_GENERATED
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official v Lfbh;v:Ljava/lang/String;
      intermediary field_32987 Lnet/minecraft/class_1088;field_32987:Ljava/lang/String;
      named BUILTIN_GENERATED Lnet/minecraft/client/render/model/ModelLoader;BUILTIN_GENERATED:Ljava/lang/String;
    • BUILTIN_ENTITY

      private static final String BUILTIN_ENTITY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official w Lfbh;w:Ljava/lang/String;
      intermediary field_32988 Lnet/minecraft/class_1088;field_32988:Ljava/lang/String;
      named BUILTIN_ENTITY Lnet/minecraft/client/render/model/ModelLoader;BUILTIN_ENTITY:Ljava/lang/String;
    • MISSING

      private static final String MISSING
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official x Lfbh;x:Ljava/lang/String;
      intermediary field_32989 Lnet/minecraft/class_1088;field_32989:Ljava/lang/String;
      named MISSING Lnet/minecraft/client/render/model/ModelLoader;MISSING:Ljava/lang/String;
    • MISSING_ID

      public static final ModelIdentifier MISSING_ID
      Mappings:
      Namespace Name Mixin selector
      official n Lfbh;n:Lfbj;
      intermediary field_5374 Lnet/minecraft/class_1088;field_5374:Lnet/minecraft/class_1091;
      named MISSING_ID Lnet/minecraft/client/render/model/ModelLoader;MISSING_ID:Lnet/minecraft/client/util/ModelIdentifier;
    • MISSING_ID_STRING

      private static final String MISSING_ID_STRING
      Mappings:
      Namespace Name Mixin selector
      official y Lfbh;y:Ljava/lang/String;
      intermediary field_21773 Lnet/minecraft/class_1088;field_21773:Ljava/lang/String;
      named MISSING_ID_STRING Lnet/minecraft/client/render/model/ModelLoader;MISSING_ID_STRING:Ljava/lang/String;
    • MISSING_DEFINITION

      public static final String MISSING_DEFINITION
      Mappings:
      Namespace Name Mixin selector
      official o Lfbh;o:Ljava/lang/String;
      intermediary field_5371 Lnet/minecraft/class_1088;field_5371:Ljava/lang/String;
      named MISSING_DEFINITION Lnet/minecraft/client/render/model/ModelLoader;MISSING_DEFINITION:Ljava/lang/String;
    • BUILTIN_MODEL_DEFINITIONS

      private static final Map<String,String> BUILTIN_MODEL_DEFINITIONS
      Mappings:
      Namespace Name Mixin selector
      official z Lfbh;z:Ljava/util/Map;
      intermediary field_5396 Lnet/minecraft/class_1088;field_5396:Ljava/util/Map;
      named BUILTIN_MODEL_DEFINITIONS Lnet/minecraft/client/render/model/ModelLoader;BUILTIN_MODEL_DEFINITIONS:Ljava/util/Map;
    • COMMA_SPLITTER

      private static final Splitter COMMA_SPLITTER
      Mappings:
      Namespace Name Mixin selector
      official A Lfbh;A:Lcom/google/common/base/Splitter;
      intermediary field_5373 Lnet/minecraft/class_1088;field_5373:Lcom/google/common/base/Splitter;
      named COMMA_SPLITTER Lnet/minecraft/client/render/model/ModelLoader;COMMA_SPLITTER:Lcom/google/common/base/Splitter;
    • KEY_VALUE_SPLITTER

      private static final Splitter KEY_VALUE_SPLITTER
      Mappings:
      Namespace Name Mixin selector
      official B Lfbh;B:Lcom/google/common/base/Splitter;
      intermediary field_5372 Lnet/minecraft/class_1088;field_5372:Lcom/google/common/base/Splitter;
      named KEY_VALUE_SPLITTER Lnet/minecraft/client/render/model/ModelLoader;KEY_VALUE_SPLITTER:Lcom/google/common/base/Splitter;
    • GENERATION_MARKER

      public static final JsonUnbakedModel GENERATION_MARKER
      Mappings:
      Namespace Name Mixin selector
      official p Lfbh;p:Leqk;
      intermediary field_5400 Lnet/minecraft/class_1088;field_5400:Lnet/minecraft/class_793;
      named GENERATION_MARKER Lnet/minecraft/client/render/model/ModelLoader;GENERATION_MARKER:Lnet/minecraft/client/render/model/json/JsonUnbakedModel;
    • BLOCK_ENTITY_MARKER

      public static final JsonUnbakedModel BLOCK_ENTITY_MARKER
      Mappings:
      Namespace Name Mixin selector
      official q Lfbh;q:Leqk;
      intermediary field_5389 Lnet/minecraft/class_1088;field_5389:Lnet/minecraft/class_793;
      named BLOCK_ENTITY_MARKER Lnet/minecraft/client/render/model/ModelLoader;BLOCK_ENTITY_MARKER:Lnet/minecraft/client/render/model/json/JsonUnbakedModel;
    • ITEM_FRAME_STATE_FACTORY

      private static final StateManager<Block,BlockState> ITEM_FRAME_STATE_FACTORY
      Mappings:
      Namespace Name Mixin selector
      official C Lfbh;C:Lcod;
      intermediary field_5395 Lnet/minecraft/class_1088;field_5395:Lnet/minecraft/class_2689;
      named ITEM_FRAME_STATE_FACTORY Lnet/minecraft/client/render/model/ModelLoader;ITEM_FRAME_STATE_FACTORY:Lnet/minecraft/state/StateManager;
    • ITEM_MODEL_GENERATOR

      private static final ItemModelGenerator ITEM_MODEL_GENERATOR
      Mappings:
      Namespace Name Mixin selector
      official D Lfbh;D:Leqn;
      intermediary field_5384 Lnet/minecraft/class_1088;field_5384:Lnet/minecraft/class_801;
      named ITEM_MODEL_GENERATOR Lnet/minecraft/client/render/model/ModelLoader;ITEM_MODEL_GENERATOR:Lnet/minecraft/client/render/model/json/ItemModelGenerator;
    • STATIC_DEFINITIONS

      private static final Map<Identifier,StateManager<Block,BlockState>> STATIC_DEFINITIONS
      Mappings:
      Namespace Name Mixin selector
      official E Lfbh;E:Ljava/util/Map;
      intermediary field_5383 Lnet/minecraft/class_1088;field_5383:Ljava/util/Map;
      named STATIC_DEFINITIONS Lnet/minecraft/client/render/model/ModelLoader;STATIC_DEFINITIONS:Ljava/util/Map;
    • resourceManager

      private final ResourceManager resourceManager
      Mappings:
      Namespace Name Mixin selector
      official F Lfbh;F:Lafk;
      intermediary field_5379 Lnet/minecraft/class_1088;field_5379:Lnet/minecraft/class_3300;
      named resourceManager Lnet/minecraft/client/render/model/ModelLoader;resourceManager:Lnet/minecraft/resource/ResourceManager;
    • spriteAtlasManager

      @Nullable private @Nullable SpriteAtlasManager spriteAtlasManager
      Mappings:
      Namespace Name Mixin selector
      official G Lfbh;G:Lezg;
      intermediary field_21774 Lnet/minecraft/class_1088;field_21774:Lnet/minecraft/class_4724;
      named spriteAtlasManager Lnet/minecraft/client/render/model/ModelLoader;spriteAtlasManager:Lnet/minecraft/client/render/model/SpriteAtlasManager;
    • blockColors

      private final BlockColors blockColors
      Mappings:
      Namespace Name Mixin selector
      official H Lfbh;H:Ldyf;
      intermediary field_20272 Lnet/minecraft/class_1088;field_20272:Lnet/minecraft/class_324;
      named blockColors Lnet/minecraft/client/render/model/ModelLoader;blockColors:Lnet/minecraft/client/color/block/BlockColors;
    • modelsToLoad

      private final Set<Identifier> modelsToLoad
      Mappings:
      Namespace Name Mixin selector
      official I Lfbh;I:Ljava/util/Set;
      intermediary field_5390 Lnet/minecraft/class_1088;field_5390:Ljava/util/Set;
      named modelsToLoad Lnet/minecraft/client/render/model/ModelLoader;modelsToLoad:Ljava/util/Set;
    • variantMapDeserializationContext

      private final ModelVariantMap.DeserializationContext variantMapDeserializationContext
      Mappings:
      Namespace Name Mixin selector
      official J Lfbh;J:Leql$a;
      intermediary field_5399 Lnet/minecraft/class_1088;field_5399:Lnet/minecraft/class_790$class_791;
      named variantMapDeserializationContext Lnet/minecraft/client/render/model/ModelLoader;variantMapDeserializationContext:Lnet/minecraft/client/render/model/json/ModelVariantMap$DeserializationContext;
    • unbakedModels

      private final Map<Identifier,UnbakedModel> unbakedModels
      Mappings:
      Namespace Name Mixin selector
      official K Lfbh;K:Ljava/util/Map;
      intermediary field_5376 Lnet/minecraft/class_1088;field_5376:Ljava/util/Map;
      named unbakedModels Lnet/minecraft/client/render/model/ModelLoader;unbakedModels:Ljava/util/Map;
    • bakedModelCache

      private final Map<Triple<Identifier,AffineTransformation,Boolean>,BakedModel> bakedModelCache
      Mappings:
      Namespace Name Mixin selector
      official L Lfbh;L:Ljava/util/Map;
      intermediary field_5398 Lnet/minecraft/class_1088;field_5398:Ljava/util/Map;
      named bakedModelCache Lnet/minecraft/client/render/model/ModelLoader;bakedModelCache:Ljava/util/Map;
    • modelsToBake

      private final Map<Identifier,UnbakedModel> modelsToBake
      Mappings:
      Namespace Name Mixin selector
      official M Lfbh;M:Ljava/util/Map;
      intermediary field_5394 Lnet/minecraft/class_1088;field_5394:Ljava/util/Map;
      named modelsToBake Lnet/minecraft/client/render/model/ModelLoader;modelsToBake:Ljava/util/Map;
    • bakedModels

      private final Map<Identifier,BakedModel> bakedModels
      Mappings:
      Namespace Name Mixin selector
      official N Lfbh;N:Ljava/util/Map;
      intermediary field_5387 Lnet/minecraft/class_1088;field_5387:Ljava/util/Map;
      named bakedModels Lnet/minecraft/client/render/model/ModelLoader;bakedModels:Ljava/util/Map;
    • spriteAtlasData

      private final Map<Identifier,com.mojang.datafixers.util.Pair<SpriteAtlasTexture,SpriteAtlasTexture.Data>> spriteAtlasData
      Mappings:
      Namespace Name Mixin selector
      official O Lfbh;O:Ljava/util/Map;
      intermediary field_17907 Lnet/minecraft/class_1088;field_17907:Ljava/util/Map;
      named spriteAtlasData Lnet/minecraft/client/render/model/ModelLoader;spriteAtlasData:Ljava/util/Map;
    • nextStateId

      private int nextStateId
      Mappings:
      Namespace Name Mixin selector
      official P Lfbh;P:I
      intermediary field_20273 Lnet/minecraft/class_1088;field_20273:I
      named nextStateId Lnet/minecraft/client/render/model/ModelLoader;nextStateId:I
    • stateLookup

      private final Object2IntMap<BlockState> stateLookup
      Mappings:
      Namespace Name Mixin selector
      official Q Lfbh;Q:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      intermediary field_20274 Lnet/minecraft/class_1088;field_20274:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      named stateLookup Lnet/minecraft/client/render/model/ModelLoader;stateLookup:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
  • Constructor Details

    • ModelLoader

      public ModelLoader(ResourceManager resourceManager, BlockColors blockColors, Profiler profiler, int int2)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfbh;<init>(Lafk;Ldyf;Lash;I)V
      intermediary <init> Lnet/minecraft/class_1088;<init>(Lnet/minecraft/class_3300;Lnet/minecraft/class_324;Lnet/minecraft/class_3695;I)V
      named <init> Lnet/minecraft/client/render/model/ModelLoader;<init>(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/client/color/block/BlockColors;Lnet/minecraft/util/profiler/Profiler;I)V
  • Method Details

    • upload

      public SpriteAtlasManager upload(TextureManager textureManager, Profiler profiler)
      Mappings:
      Namespace Name Mixin selector
      official a Lfbh;a(Lezs;Lash;)Lezg;
      intermediary method_18177 Lnet/minecraft/class_1088;method_18177(Lnet/minecraft/class_1060;Lnet/minecraft/class_3695;)Lnet/minecraft/class_4724;
      named upload Lnet/minecraft/client/render/model/ModelLoader;upload(Lnet/minecraft/client/texture/TextureManager;Lnet/minecraft/util/profiler/Profiler;)Lnet/minecraft/client/render/model/SpriteAtlasManager;
    • stateKeyToPredicate

      private static Predicate<BlockState> stateKeyToPredicate(StateManager<Block,BlockState> stateFactory, String key)
      Mappings:
      Namespace Name Mixin selector
      official a Lfbh;a(Lcod;Ljava/lang/String;)Ljava/util/function/Predicate;
      intermediary method_4725 Lnet/minecraft/class_1088;method_4725(Lnet/minecraft/class_2689;Ljava/lang/String;)Ljava/util/function/Predicate;
      named stateKeyToPredicate Lnet/minecraft/client/render/model/ModelLoader;stateKeyToPredicate(Lnet/minecraft/state/StateManager;Ljava/lang/String;)Ljava/util/function/Predicate;
    • getPropertyValue

      @Nullable static <T extends Comparable<T>> T getPropertyValue(Property<T> property, String string)
      Mappings:
      Namespace Name Mixin selector
      official a Lfbh;a(Lcpg;Ljava/lang/String;)Ljava/lang/Comparable;
      intermediary method_4724 Lnet/minecraft/class_1088;method_4724(Lnet/minecraft/class_2769;Ljava/lang/String;)Ljava/lang/Comparable;
      named getPropertyValue Lnet/minecraft/client/render/model/ModelLoader;getPropertyValue(Lnet/minecraft/state/property/Property;Ljava/lang/String;)Ljava/lang/Comparable;
    • getOrLoadModel

      public UnbakedModel getOrLoadModel(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official a Lfbh;a(Lyh;)Lfbn;
      intermediary method_4726 Lnet/minecraft/class_1088;method_4726(Lnet/minecraft/class_2960;)Lnet/minecraft/class_1100;
      named getOrLoadModel Lnet/minecraft/client/render/model/ModelLoader;getOrLoadModel(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/render/model/UnbakedModel;
    • loadModel

      private void loadModel(Identifier id) throws Exception
      Throws:
      Exception
      Mappings:
      Namespace Name Mixin selector
      official b Lfbh;b(Lyh;)V
      intermediary method_4715 Lnet/minecraft/class_1088;method_4715(Lnet/minecraft/class_2960;)V
      named loadModel Lnet/minecraft/client/render/model/ModelLoader;loadModel(Lnet/minecraft/util/Identifier;)V
    • putModel

      private void putModel(Identifier id, UnbakedModel unbakedModel)
      Mappings:
      Namespace Name Mixin selector
      official a Lfbh;a(Lyh;Lfbn;)V
      intermediary method_4729 Lnet/minecraft/class_1088;method_4729(Lnet/minecraft/class_2960;Lnet/minecraft/class_1100;)V
      named putModel Lnet/minecraft/client/render/model/ModelLoader;putModel(Lnet/minecraft/util/Identifier;Lnet/minecraft/client/render/model/UnbakedModel;)V
    • addModel

      private void addModel(ModelIdentifier modelId)
      Mappings:
      Namespace Name Mixin selector
      official a Lfbh;a(Lfbj;)V
      intermediary method_4727 Lnet/minecraft/class_1088;method_4727(Lnet/minecraft/class_1091;)V
      named addModel Lnet/minecraft/client/render/model/ModelLoader;addModel(Lnet/minecraft/client/util/ModelIdentifier;)V
    • addStates

      private void addStates(Iterable<BlockState> states)
      Mappings:
      Namespace Name Mixin selector
      official a Lfbh;a(Ljava/lang/Iterable;)V
      intermediary method_21603 Lnet/minecraft/class_1088;method_21603(Ljava/lang/Iterable;)V
      named addStates Lnet/minecraft/client/render/model/ModelLoader;addStates(Ljava/lang/Iterable;)V
    • bake

      Mappings:
      Namespace Name Mixin selector
      official a Lfbh;a(Lyh;Lfbk;)Lfbd;
      intermediary method_15878 Lnet/minecraft/class_1088;method_15878(Lnet/minecraft/class_2960;Lnet/minecraft/class_3665;)Lnet/minecraft/class_1087;
      named bake Lnet/minecraft/client/render/model/ModelLoader;bake(Lnet/minecraft/util/Identifier;Lnet/minecraft/client/render/model/ModelBakeSettings;)Lnet/minecraft/client/render/model/BakedModel;
    • loadModelFromJson

      private JsonUnbakedModel loadModelFromJson(Identifier id) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official c Lfbh;c(Lyh;)Leqk;
      intermediary method_4718 Lnet/minecraft/class_1088;method_4718(Lnet/minecraft/class_2960;)Lnet/minecraft/class_793;
      named loadModelFromJson Lnet/minecraft/client/render/model/ModelLoader;loadModelFromJson(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/render/model/json/JsonUnbakedModel;
    • getBakedModelMap

      public Map<Identifier,BakedModel> getBakedModelMap()
      Mappings:
      Namespace Name Mixin selector
      official a Lfbh;a()Ljava/util/Map;
      intermediary method_4734 Lnet/minecraft/class_1088;method_4734()Ljava/util/Map;
      named getBakedModelMap Lnet/minecraft/client/render/model/ModelLoader;getBakedModelMap()Ljava/util/Map;
    • getStateLookup

      public Object2IntMap<BlockState> getStateLookup()
      Mappings:
      Namespace Name Mixin selector
      official b Lfbh;b()Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      intermediary method_21605 Lnet/minecraft/class_1088;method_21605()Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      named getStateLookup Lnet/minecraft/client/render/model/ModelLoader;getStateLookup()Lit/unimi/dsi/fastutil/objects/Object2IntMap;