Package net.minecraft.data.client
Class ItemModelGenerator
java.lang.Object
net.minecraft.data.client.ItemModelGenerator
- Mappings:
Namespace Name official kt
intermediary net/minecraft/class_4915
named net/minecraft/data/client/ItemModelGenerator
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final List<ItemModelGenerator.TrimMaterial>
static final Identifier
private final BiConsumer<Identifier,
Supplier<com.google.gson.JsonElement>> -
Constructor Summary
ConstructorDescriptionItemModelGenerator
(BiConsumer<Identifier, Supplier<com.google.gson.JsonElement>> writer) -
Method Summary
Modifier and TypeMethodDescriptionprivate com.google.gson.JsonObject
createArmorJson
(Identifier id, Map<TextureKey, Identifier> textures, ArmorMaterial armorMaterial) void
register()
private void
private void
private void
private void
registerArmor
(ArmorItem armor) private void
registerClock
(Item clock) private void
registerCompass
(Item compass) private Identifier
suffixTrim
(Identifier id, String trimMaterialName) private void
uploadArmor
(Identifier id, Identifier layer0, Identifier layer1) private void
uploadArmor
(Identifier id, Identifier layer0, Identifier layer1, Identifier layer2)
-
Field Details
-
TRIM_TYPE
- Mappings:
Namespace Name Mixin selector official a
Lkt;a:Laew;
intermediary field_42086
Lnet/minecraft/class_4915;field_42086:Lnet/minecraft/class_2960;
named TRIM_TYPE
Lnet/minecraft/data/client/ItemModelGenerator;TRIM_TYPE:Lnet/minecraft/util/Identifier;
-
TRIM_MATERIALS
- Mappings:
Namespace Name Mixin selector official b
Lkt;b:Ljava/util/List;
intermediary field_42087
Lnet/minecraft/class_4915;field_42087:Ljava/util/List;
named TRIM_MATERIALS
Lnet/minecraft/data/client/ItemModelGenerator;TRIM_MATERIALS:Ljava/util/List;
-
writer
- Mappings:
Namespace Name Mixin selector official c
Lkt;c:Ljava/util/function/BiConsumer;
intermediary field_22844
Lnet/minecraft/class_4915;field_22844:Ljava/util/function/BiConsumer;
named writer
Lnet/minecraft/data/client/ItemModelGenerator;writer:Ljava/util/function/BiConsumer;
-
-
Constructor Details
-
ItemModelGenerator
- Mappings:
Namespace Name Mixin selector official <init>
Lkt;<init>(Ljava/util/function/BiConsumer;)V
intermediary <init>
Lnet/minecraft/class_4915;<init>(Ljava/util/function/BiConsumer;)V
named <init>
Lnet/minecraft/data/client/ItemModelGenerator;<init>(Ljava/util/function/BiConsumer;)V
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector official a
Lkt;a(Lcja;Llh;)V
intermediary method_25733
Lnet/minecraft/class_4915;method_25733(Lnet/minecraft/class_1792;Lnet/minecraft/class_4942;)V
named register
Lnet/minecraft/data/client/ItemModelGenerator;register(Lnet/minecraft/item/Item;Lnet/minecraft/data/client/Model;)V
-
register
- Mappings:
Namespace Name Mixin selector official a
Lkt;a(Lcja;Ljava/lang/String;Llh;)V
intermediary method_25734
Lnet/minecraft/class_4915;method_25734(Lnet/minecraft/class_1792;Ljava/lang/String;Lnet/minecraft/class_4942;)V
named register
Lnet/minecraft/data/client/ItemModelGenerator;register(Lnet/minecraft/item/Item;Ljava/lang/String;Lnet/minecraft/data/client/Model;)V
-
register
- Mappings:
Namespace Name Mixin selector official a
Lkt;a(Lcja;Lcja;Llh;)V
intermediary method_25732
Lnet/minecraft/class_4915;method_25732(Lnet/minecraft/class_1792;Lnet/minecraft/class_1792;Lnet/minecraft/class_4942;)V
named register
Lnet/minecraft/data/client/ItemModelGenerator;register(Lnet/minecraft/item/Item;Lnet/minecraft/item/Item;Lnet/minecraft/data/client/Model;)V
-
registerCompass
- Mappings:
Namespace Name Mixin selector official a
Lkt;a(Lcja;)V
intermediary method_43228
Lnet/minecraft/class_4915;method_43228(Lnet/minecraft/class_1792;)V
named registerCompass
Lnet/minecraft/data/client/ItemModelGenerator;registerCompass(Lnet/minecraft/item/Item;)V
-
registerClock
- Mappings:
Namespace Name Mixin selector official b
Lkt;b(Lcja;)V
intermediary method_43229
Lnet/minecraft/class_4915;method_43229(Lnet/minecraft/class_1792;)V
named registerClock
Lnet/minecraft/data/client/ItemModelGenerator;registerClock(Lnet/minecraft/item/Item;)V
-
uploadArmor
- Mappings:
Namespace Name Mixin selector official a
Lkt;a(Laew;Laew;Laew;)V
intermediary method_48517
Lnet/minecraft/class_4915;method_48517(Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;)V
named uploadArmor
Lnet/minecraft/data/client/ItemModelGenerator;uploadArmor(Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;)V
-
uploadArmor
- Mappings:
Namespace Name Mixin selector official a
Lkt;a(Laew;Laew;Laew;Laew;)V
intermediary method_48742
Lnet/minecraft/class_4915;method_48742(Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;)V
named uploadArmor
Lnet/minecraft/data/client/ItemModelGenerator;uploadArmor(Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;)V
-
suffixTrim
- Mappings:
Namespace Name Mixin selector official a
Lkt;a(Laew;Ljava/lang/String;)Laew;
intermediary method_48518
Lnet/minecraft/class_4915;method_48518(Lnet/minecraft/class_2960;Ljava/lang/String;)Lnet/minecraft/class_2960;
named suffixTrim
Lnet/minecraft/data/client/ItemModelGenerator;suffixTrim(Lnet/minecraft/util/Identifier;Ljava/lang/String;)Lnet/minecraft/util/Identifier;
-
createArmorJson
private com.google.gson.JsonObject createArmorJson(Identifier id, Map<TextureKey, Identifier> textures, ArmorMaterial armorMaterial) - Mappings:
Namespace Name Mixin selector official a
Lkt;a(Laew;Ljava/util/Map;Lcgq;)Lcom/google/gson/JsonObject;
intermediary method_48519
Lnet/minecraft/class_4915;method_48519(Lnet/minecraft/class_2960;Ljava/util/Map;Lnet/minecraft/class_1741;)Lcom/google/gson/JsonObject;
named createArmorJson
Lnet/minecraft/data/client/ItemModelGenerator;createArmorJson(Lnet/minecraft/util/Identifier;Ljava/util/Map;Lnet/minecraft/item/ArmorMaterial;)Lcom/google/gson/JsonObject;
-
registerArmor
- Mappings:
Namespace Name Mixin selector official a
Lkt;a(Lcgp;)V
intermediary method_48523
Lnet/minecraft/class_4915;method_48523(Lnet/minecraft/class_1738;)V
named registerArmor
Lnet/minecraft/data/client/ItemModelGenerator;registerArmor(Lnet/minecraft/item/ArmorItem;)V
-
register
public void register()- Mappings:
Namespace Name Mixin selector official a
Lkt;a()V
intermediary method_25731
Lnet/minecraft/class_4915;method_25731()V
named register
Lnet/minecraft/data/client/ItemModelGenerator;register()V
-