Uses of Record Class
net.minecraft.client.render.model.json.ModelVariant
Packages that use ModelVariant
Package
Description
The base package for all Minecraft classes.
-
Uses of ModelVariant in net.minecraft
Fields in net.minecraft declared as ModelVariantModifier and TypeFieldDescriptionprivate final ModelVariantclass_10893.class_10894.variantThe field for thevariantrecord component.Methods in net.minecraft that return ModelVariantModifier and TypeMethodDescriptionclass_10893.class_10894.variant()Returns the value of thevariantrecord component.Constructors in net.minecraft with parameters of type ModelVariant -
Uses of ModelVariant in net.minecraft.client.data
Fields 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) (package private) static WeightedUnbakedModelBlockStateModelGenerator.createModel(ModelVariant variant) private static WeightedUnbakedModelBlockStateModelGenerator.createModel(ModelVariant[] variants) 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) private static WeightedUnbakedModelBlockStateModelGenerator.modelWithMirroring(ModelVariant variant, ModelVariant mirroredVariant) private static WeightedUnbakedModelBlockStateModelGenerator.modelWithYRotation(ModelVariant variant) -
Uses of ModelVariant in net.minecraft.client.render.model
Fields in net.minecraft.client.render.model with type parameters of type ModelVariantModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Weighted<ModelVariant>> BakedModel.class_10892.field_57942 -
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.CODECstatic final com.mojang.serialization.MapCodec<ModelVariant> ModelVariant.field_57947private final Pool<ModelVariant> WeightedUnbakedModel.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 TypeMethodDescriptionWeightedUnbakedModel.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