Uses of Record Class
net.minecraft.client.render.model.json.ModelVariant
Packages that use 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 TypeMethodDescriptionprivate ModelVariantBlockStateModelGenerator.getTurtleEggModel(int int2, int int3) private ModelVariantBlockStateModelGenerator.getTurtleEggModel(int eggs, String prefix, TextureMap textures) (package private) static ModelVariantBlockStateModelGenerator.method_67806(Identifier identifier) Methods in net.minecraft.client.data with parameters of type ModelVariantModifier and TypeMethodDescriptionBlockStateModelGenerator.StateFactory.create(Block block, ModelVariant modelVariant, TextureMap textures, BiConsumer<Identifier, ModelSupplier> modelCollector) private static BlockStateSupplierBlockStateModelGenerator.createDeepslateState(Block block, ModelVariant modelVariant, TextureMap textures, BiConsumer<Identifier, ModelSupplier> modelCollector) private static BlockStateSupplierBlockStateModelGenerator.createMudBrickState(Block block, ModelVariant modelVariant, TextureMap textures, BiConsumer<Identifier, ModelSupplier> modelCollector) private static BlockStateSupplierBlockStateModelGenerator.createStoneState(Block block, ModelVariant modelVariant, TextureMap textures, BiConsumer<Identifier, ModelSupplier> modelCollector) (package private) static WeightedUnbakedModelBlockStateModelGenerator.method_67822(ModelVariant modelVariant) private static WeightedUnbakedModelBlockStateModelGenerator.method_67823(ModelVariant modelVariant, ModelVariant modelVariant2) private static WeightedUnbakedModelBlockStateModelGenerator.method_67833(ModelVariant[] modelVariant) private static WeightedUnbakedModelBlockStateModelGenerator.method_67839(ModelVariant 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.CODECprivate final List<ModelVariant> WeightedUnbakedModel.variantsThe field for thevariantsrecord component.Methods in net.minecraft.client.render.model.json that return ModelVariantModifier and TypeMethodDescriptionModelVariants.Settings.apply(ModelVariant variant, T value) ModelVariant.init(ModelVariants variant) ModelVariant.setState(ModelVariant.VariantType type) ModelVariant.withModel(Identifier modelState) ModelVariant.withRotationX(Rotation amount) ModelVariant.withRotationY(Rotation amount) ModelVariant.withUVLock(boolean uvLock) ModelVariant.withWeight(int weight) 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 TypeMethodDescriptionModelVariants.Settings.apply(ModelVariant variant, T value) private static BakedModelWeightedUnbakedModel.bake(Baker baker, ModelVariant variant) Constructor parameters in net.minecraft.client.render.model.json with type arguments of type ModelVariant