Uses of Record Class
net.minecraft.client.render.model.json.ModelVariant
Packages that use ModelVariant
Package
Description
-
Uses of ModelVariant in net.minecraft.client.data
Fields in net.minecraft.client.data declared as ModelVariantModifier and TypeFieldDescriptionprivate @Nullable ModelVariant
BlockStateModelGenerator.BlockTexturePool.baseModelId
Methods in net.minecraft.client.data that return ModelVariantModifier and TypeMethodDescription(package private) static ModelVariant
BlockStateModelGenerator.createModelVariant
(Identifier id) private ModelVariant
BlockStateModelGenerator.getTurtleEggModel
(int eggs, int cracks) private ModelVariant
BlockStateModelGenerator.getTurtleEggModel
(int eggs, String prefix, TextureMap textures) Methods in net.minecraft.client.data with parameters of type ModelVariantModifier and TypeMethodDescriptionBlockStateModelGenerator.StateFactory.create
(Block block, ModelVariant variant, TextureMap textures, BiConsumer<Identifier, ModelSupplier> modelCollector) private static BlockModelDefinitionCreator
BlockStateModelGenerator.createDeepslateState
(Block block, ModelVariant variant, TextureMap textures, BiConsumer<Identifier, ModelSupplier> modelCollector) private static BlockModelDefinitionCreator
BlockStateModelGenerator.createMudBrickState
(Block block, ModelVariant variant, TextureMap textures, BiConsumer<Identifier, ModelSupplier> modelCollector) private static BlockModelDefinitionCreator
BlockStateModelGenerator.createStoneState
(Block block, ModelVariant variant, TextureMap textures, BiConsumer<Identifier, ModelSupplier> modelCollector) (package private) static WeightedVariant
BlockStateModelGenerator.createWeightedVariant
(ModelVariant variant) private static WeightedVariant
BlockStateModelGenerator.createWeightedVariant
(ModelVariant[] variants) private static WeightedVariant
BlockStateModelGenerator.modelWithMirroring
(ModelVariant variant, ModelVariant mirroredVariant) private static WeightedVariant
BlockStateModelGenerator.modelWithYRotation
(ModelVariant variant) -
Uses of ModelVariant in net.minecraft.client.render.model
Fields in net.minecraft.client.render.model declared as ModelVariantModifier and TypeFieldDescriptionprivate final ModelVariant
SimpleBlockStateModel.Unbaked.variant
The field for thevariant
record component.Fields in net.minecraft.client.render.model with type parameters of type ModelVariantModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Weighted<ModelVariant>> BlockStateModel.Unbaked.WEIGHTED_VARIANT_CODEC
Methods in net.minecraft.client.render.model that return ModelVariantModifier and TypeMethodDescriptionSimpleBlockStateModel.Unbaked.variant()
Returns the value of thevariant
record component.Constructors in net.minecraft.client.render.model with parameters of type ModelVariant -
Uses of ModelVariant in net.minecraft.client.render.model.json
Fields in net.minecraft.client.render.model.json with type parameters of type ModelVariantModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ModelVariant> ModelVariant.CODEC
static final com.mojang.serialization.MapCodec
<ModelVariant> ModelVariant.MAP_CODEC
private final Pool
<ModelVariant> WeightedVariant.variants
The field for thevariants
record component.Methods in net.minecraft.client.render.model.json that return ModelVariantModifier and TypeMethodDescriptionModelVariantOperator.Settings.apply
(ModelVariant variant, T value) ModelVariant.setState
(ModelVariant.ModelState modelState) ModelVariant.with
(ModelVariantOperator variantOperator) ModelVariant.withModel
(Identifier modelId) ModelVariant.withRotationX
(AxisRotation amount) ModelVariant.withRotationY
(AxisRotation amount) ModelVariant.withUVLock
(boolean uvLock) Methods in net.minecraft.client.render.model.json that return types with arguments of type ModelVariantModifier and TypeMethodDescriptionWeightedVariant.variants()
Returns the value of thevariants
record component.Methods in net.minecraft.client.render.model.json with parameters of type ModelVariantModifier and TypeMethodDescriptionModelVariantOperator.Settings.apply
(ModelVariant variant, T value) Constructor parameters in net.minecraft.client.render.model.json with type arguments of type ModelVariant