Class BlockModels

java.lang.Object
net.minecraft.client.render.block.BlockModels

@Environment(CLIENT) public class BlockModels extends Object
Mappings:
Namespace Name
named net/minecraft/client/render/block/BlockModels
intermediary net/minecraft/class_773
official gmm
  • Field Details

    • models

      private Map<BlockState,BakedModel> models
      Mappings:
      Namespace Name Mixin selector
      named models Lnet/minecraft/client/render/block/BlockModels;models:Ljava/util/Map;
      intermediary field_4162 Lnet/minecraft/class_773;field_4162:Ljava/util/Map;
      official a Lgmm;a:Ljava/util/Map;
    • modelManager

      private final BakedModelManager modelManager
      Mappings:
      Namespace Name Mixin selector
      named modelManager Lnet/minecraft/client/render/block/BlockModels;modelManager:Lnet/minecraft/client/render/model/BakedModelManager;
      intermediary field_4163 Lnet/minecraft/class_773;field_4163:Lnet/minecraft/class_1092;
      official b Lgmm;b:Lhdz;
  • Constructor Details

    • BlockModels

      public BlockModels(BakedModelManager modelManager)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/block/BlockModels;<init>(Lnet/minecraft/client/render/model/BakedModelManager;)V
      intermediary <init> Lnet/minecraft/class_773;<init>(Lnet/minecraft/class_1092;)V
      official <init> Lgmm;<init>(Lhdz;)V
  • Method Details

    • getModelParticleSprite

      public Sprite getModelParticleSprite(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named getModelParticleSprite Lnet/minecraft/client/render/block/BlockModels;getModelParticleSprite(Lnet/minecraft/block/BlockState;)Lnet/minecraft/client/texture/Sprite;
      intermediary method_3339 Lnet/minecraft/class_773;method_3339(Lnet/minecraft/class_2680;)Lnet/minecraft/class_1058;
      official a Lgmm;a(Ldxu;)Lhbk;
    • getModel

      public BakedModel getModel(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named getModel Lnet/minecraft/client/render/block/BlockModels;getModel(Lnet/minecraft/block/BlockState;)Lnet/minecraft/client/render/model/BakedModel;
      intermediary method_3335 Lnet/minecraft/class_773;method_3335(Lnet/minecraft/class_2680;)Lnet/minecraft/class_1087;
      official b Lgmm;b(Ldxu;)Lhdm;
    • getModelManager

      public BakedModelManager getModelManager()
      Mappings:
      Namespace Name Mixin selector
      named getModelManager Lnet/minecraft/client/render/block/BlockModels;getModelManager()Lnet/minecraft/client/render/model/BakedModelManager;
      intermediary method_3333 Lnet/minecraft/class_773;method_3333()Lnet/minecraft/class_1092;
      official a Lgmm;a()Lhdz;
    • setModels

      public void setModels(Map<BlockState,BakedModel> models)
      Mappings:
      Namespace Name Mixin selector
      named setModels Lnet/minecraft/client/render/block/BlockModels;setModels(Ljava/util/Map;)V
      intermediary method_45784 Lnet/minecraft/class_773;method_45784(Ljava/util/Map;)V
      official a Lgmm;a(Ljava/util/Map;)V
    • getModelId

      public static ModelIdentifier getModelId(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named getModelId Lnet/minecraft/client/render/block/BlockModels;getModelId(Lnet/minecraft/block/BlockState;)Lnet/minecraft/client/util/ModelIdentifier;
      intermediary method_3340 Lnet/minecraft/class_773;method_3340(Lnet/minecraft/class_2680;)Lnet/minecraft/class_1091;
      official c Lgmm;c(Ldxu;)Lhea;
    • getModelId

      public static ModelIdentifier getModelId(Identifier id, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named getModelId Lnet/minecraft/client/render/block/BlockModels;getModelId(Lnet/minecraft/util/Identifier;Lnet/minecraft/block/BlockState;)Lnet/minecraft/client/util/ModelIdentifier;
      intermediary method_3336 Lnet/minecraft/class_773;method_3336(Lnet/minecraft/class_2960;Lnet/minecraft/class_2680;)Lnet/minecraft/class_1091;
      official a Lgmm;a(Lalz;Ldxu;)Lhea;
    • propertyMapToString

      public static String propertyMapToString(Map<Property<?>,Comparable<?>> map)
      Mappings:
      Namespace Name Mixin selector
      named propertyMapToString Lnet/minecraft/client/render/block/BlockModels;propertyMapToString(Ljava/util/Map;)Ljava/lang/String;
      intermediary method_3338 Lnet/minecraft/class_773;method_3338(Ljava/util/Map;)Ljava/lang/String;
      official b Lgmm;b(Ljava/util/Map;)Ljava/lang/String;
    • propertyValueToString

      private static <T extends Comparable<T>> String propertyValueToString(Property<T> property, Comparable<?> value)
      Mappings:
      Namespace Name Mixin selector
      named propertyValueToString Lnet/minecraft/client/render/block/BlockModels;propertyValueToString(Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;)Ljava/lang/String;
      intermediary method_3334 Lnet/minecraft/class_773;method_3334(Lnet/minecraft/class_2769;Ljava/lang/Comparable;)Ljava/lang/String;
      official a Lgmm;a(Ldyw;Ljava/lang/Comparable;)Ljava/lang/String;