Uses of Record Class
net.minecraft.client.render.model.json.ModelVariant
Packages that use ModelVariant
Package
Description
- 
Uses of ModelVariant in net.minecraft.client.dataFields in net.minecraft.client.data declared as ModelVariantModifier and TypeFieldDescriptionprivate @Nullable ModelVariantBlockStateModelGenerator.BlockTexturePool.baseModelIdMethods in net.minecraft.client.data that return ModelVariantModifier and TypeMethodDescription(package private) static ModelVariantBlockStateModelGenerator.createModelVariant(Identifier id) private ModelVariantBlockStateModelGenerator.getTurtleEggModel(int int2, int int3) private ModelVariantBlockStateModelGenerator.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 BlockModelDefinitionCreatorBlockStateModelGenerator.createDeepslateState(Block block, ModelVariant variant, TextureMap textures, BiConsumer<Identifier, ModelSupplier> modelCollector) private static BlockModelDefinitionCreatorBlockStateModelGenerator.createMudBrickState(Block block, ModelVariant variant, TextureMap textures, BiConsumer<Identifier, ModelSupplier> modelCollector) private static BlockModelDefinitionCreatorBlockStateModelGenerator.createStoneState(Block block, ModelVariant variant, TextureMap textures, BiConsumer<Identifier, ModelSupplier> modelCollector) (package private) static WeightedVariantBlockStateModelGenerator.createWeightedVariant(ModelVariant variant) private static WeightedVariantBlockStateModelGenerator.createWeightedVariant(ModelVariant[] variants) private static WeightedVariantBlockStateModelGenerator.modelWithMirroring(ModelVariant variant, ModelVariant mirroredVariant) private static WeightedVariantBlockStateModelGenerator.modelWithYRotation(ModelVariant variant) 
- 
Uses of ModelVariant in net.minecraft.client.render.modelFields in net.minecraft.client.render.model declared as ModelVariantModifier and TypeFieldDescriptionprivate final ModelVariantSimpleBlockStateModel.Unbaked.variantThe field for thevariantrecord 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_CODECMethods in net.minecraft.client.render.model that return ModelVariantModifier and TypeMethodDescriptionSimpleBlockStateModel.Unbaked.variant()Returns the value of thevariantrecord component.Constructors in net.minecraft.client.render.model with parameters of type ModelVariant
- 
Uses of ModelVariant in net.minecraft.client.render.model.jsonFields in net.minecraft.client.render.model.json with type parameters of type ModelVariantModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ModelVariant> ModelVariant.CODECstatic final com.mojang.serialization.MapCodec<ModelVariant> ModelVariant.MAP_CODECprivate final Pool<ModelVariant> WeightedVariant.variantsThe field for thevariantsrecord 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 thevariantsrecord 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