Class ModelVariantMap
java.lang.Object
net.minecraft.client.render.model.json.ModelVariantMap
@Environment(CLIENT) public class ModelVariantMap extends Object
- Mappings:
Namespace Name official eiq
intermediary net/minecraft/class_790
named net/minecraft/client/render/model/json/ModelVariantMap
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ModelVariantMap.DeserializationContext
static class
ModelVariantMap.Deserializer
-
Field Summary
Fields Modifier and Type Field Description private MultipartUnbakedModel
multipartModel
private Map<String,WeightedUnbakedModel>
variantMap
-
Constructor Summary
Constructors Constructor Description ModelVariantMap(List<ModelVariantMap> variantMapList)
ModelVariantMap(Map<String,WeightedUnbakedModel> variantMap, MultipartUnbakedModel multipartModel)
-
Method Summary
Modifier and Type Method Description static ModelVariantMap
deserialize(ModelVariantMap.DeserializationContext context, Reader reader)
boolean
equals(Object o)
MultipartUnbakedModel
getMultipartModel()
Map<String,WeightedUnbakedModel>
getVariantMap()
int
hashCode()
boolean
hasMultipartModel()
-
Field Details
-
variantMap
- Mappings:
Namespace Name Mixin selector official a
Leiq;a:Ljava/util/Map;
intermediary field_4241
Lnet/minecraft/class_790;field_4241:Ljava/util/Map;
named variantMap
Lnet/minecraft/client/render/model/json/ModelVariantMap;variantMap:Ljava/util/Map;
-
multipartModel
- Mappings:
Namespace Name Mixin selector official b
Leiq;b:Lejc;
intermediary field_4240
Lnet/minecraft/class_790;field_4240:Lnet/minecraft/class_816;
named multipartModel
Lnet/minecraft/client/render/model/json/ModelVariantMap;multipartModel:Lnet/minecraft/client/render/model/MultipartUnbakedModel;
-
-
Constructor Details
-
ModelVariantMap
public ModelVariantMap(Map<String,WeightedUnbakedModel> variantMap, MultipartUnbakedModel multipartModel)- Mappings:
Namespace Name Mixin selector official <init>
Leiq;<init>(Ljava/util/Map;Lejc;)V
intermediary <init>
Lnet/minecraft/class_790;<init>(Ljava/util/Map;Lnet/minecraft/class_816;)V
named <init>
Lnet/minecraft/client/render/model/json/ModelVariantMap;<init>(Ljava/util/Map;Lnet/minecraft/client/render/model/MultipartUnbakedModel;)V
-
ModelVariantMap
- Mappings:
Namespace Name Mixin selector official <init>
Leiq;<init>(Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_790;<init>(Ljava/util/List;)V
named <init>
Lnet/minecraft/client/render/model/json/ModelVariantMap;<init>(Ljava/util/List;)V
-
-
Method Details
-
deserialize
public static ModelVariantMap deserialize(ModelVariantMap.DeserializationContext context, Reader reader)- Mappings:
Namespace Name Mixin selector official a
Leiq;a(Leiq$a;Ljava/io/Reader;)Leiq;
intermediary method_3424
Lnet/minecraft/class_790;method_3424(Lnet/minecraft/class_790$class_791;Ljava/io/Reader;)Lnet/minecraft/class_790;
named deserialize
Lnet/minecraft/client/render/model/json/ModelVariantMap;deserialize(Lnet/minecraft/client/render/model/json/ModelVariantMap$DeserializationContext;Ljava/io/Reader;)Lnet/minecraft/client/render/model/json/ModelVariantMap;
-
equals
-
hashCode
public int hashCode() -
getVariantMap
- Mappings:
Namespace Name Mixin selector official a
Leiq;a()Ljava/util/Map;
intermediary method_3423
Lnet/minecraft/class_790;method_3423()Ljava/util/Map;
named getVariantMap
Lnet/minecraft/client/render/model/json/ModelVariantMap;getVariantMap()Ljava/util/Map;
-
hasMultipartModel
public boolean hasMultipartModel()- Mappings:
Namespace Name Mixin selector official c
Leiq;c()Z
intermediary method_3422
Lnet/minecraft/class_790;method_3422()Z
named hasMultipartModel
Lnet/minecraft/client/render/model/json/ModelVariantMap;hasMultipartModel()Z
-
getMultipartModel
- Mappings:
Namespace Name Mixin selector official d
Leiq;d()Lejc;
intermediary method_3421
Lnet/minecraft/class_790;method_3421()Lnet/minecraft/class_816;
named getMultipartModel
Lnet/minecraft/client/render/model/json/ModelVariantMap;getMultipartModel()Lnet/minecraft/client/render/model/MultipartUnbakedModel;
-