Class BlockModels

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

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

    • models

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

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

  • Method Details

    • getSprite

      public Sprite getSprite​(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Leig;a(Lcht;)Leru;
      intermediary method_3339 Lnet/minecraft/class_773;method_3339(Lnet/minecraft/class_2680;)Lnet/minecraft/class_1058;
      named getSprite Lnet/minecraft/client/render/block/BlockModels;getSprite(Lnet/minecraft/block/BlockState;)Lnet/minecraft/client/texture/Sprite;
    • getModel

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

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

      public void reload()
      Mappings:
      Namespace Name Mixin selector
      official b Leig;b()V
      intermediary method_3341 Lnet/minecraft/class_773;method_3341()V
      named reload Lnet/minecraft/client/render/block/BlockModels;reload()V
    • getModelId

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

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

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

      private static <T extends Comparable<T>> String propertyValueToString​(Property<T> property, Comparable<?> comparable)
      Mappings:
      Namespace Name Mixin selector
      official a Leig;a(Lciw;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;
      named propertyValueToString Lnet/minecraft/client/render/block/BlockModels;propertyValueToString(Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;)Ljava/lang/String;