Uses of Record Class
net.minecraft.client.render.model.json.WeightedUnbakedModel
-
Uses of WeightedUnbakedModel in net.minecraft.client.render.model
Modifier and TypeFieldDescriptionprivate final WeightedUnbakedModel
MultipartUnbakedModel.Selector.variant
The field for thevariant
record component.Modifier and TypeMethodDescriptionMultipartUnbakedModel.Selector.variant()
Returns the value of thevariant
record component.ModifierConstructorDescription(package private)
Selector
(Predicate<BlockState> predicate, WeightedUnbakedModel weightedUnbakedModel) -
Uses of WeightedUnbakedModel in net.minecraft.client.render.model.json
Modifier and TypeFieldDescriptionprivate final WeightedUnbakedModel
MultipartModelComponent.model
Modifier and TypeFieldDescriptionprivate final Map
<String, WeightedUnbakedModel> ModelVariantMap.variantMap
Modifier and TypeMethodDescriptionWeightedUnbakedModel.Deserializer.deserialize
(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) MultipartModelComponent.getModel()
ModelVariantMap.getVariant
(String key) Finds and returns the definition of the variant under thekey
.Modifier and TypeMethodDescriptionModelVariantMap.getAllModels()
protected Map
<String, WeightedUnbakedModel> ModelVariantMap.Deserializer.variantsFromJson
(JsonDeserializationContext context, JsonObject object) ModifierConstructorDescriptionMultipartModelComponent
(MultipartModelSelector selector, WeightedUnbakedModel model) ModifierConstructorDescriptionModelVariantMap
(Map<String, WeightedUnbakedModel> variantMap, MultipartUnbakedModel.Serialized multipartModel)