Uses of Record Class
net.minecraft.client.resources.model.sprite.Material.Baked
Packages that use Material.Baked
Package
Description
Extension interfaces for
client-only classes.-
Uses of Material.Baked in net.minecraft.client.renderer.block
Fields in net.minecraft.client.renderer.block declared as Material.BakedModifier and TypeFieldDescriptionprivate final Material.BakedFluidModel.flowingMaterialThe field for theflowingMaterialrecord component.private final @Nullable Material.BakedFluidModel.overlayMaterialThe field for theoverlayMaterialrecord component.private final Material.BakedFluidModel.stillMaterialThe field for thestillMaterialrecord component.Methods in net.minecraft.client.renderer.block that return Material.BakedModifier and TypeMethodDescriptionFluidModel.flowingMaterial()Returns the value of theflowingMaterialrecord component.BlockStateModelSet.getParticleMaterial(BlockState blockState) BlockStateModelSet.getParticleMaterial(BlockState blockState, BlockAndTintGetter level, BlockPos pos) @Nullable Material.BakedFluidModel.overlayMaterial()Returns the value of theoverlayMaterialrecord component.FluidModel.stillMaterial()Returns the value of thestillMaterialrecord component.Methods in net.minecraft.client.renderer.block with parameters of type Material.BakedModifier and TypeMethodDescriptionprivate static TransparencyFluidModel.Unbaked.getTransparency(Material.Baked material) Constructors in net.minecraft.client.renderer.block with parameters of type Material.BakedModifierConstructorDescriptionFluidModel(ChunkSectionLayer layer, Material.Baked stillMaterial, Material.Baked flowingMaterial, @Nullable Material.Baked overlayMaterial, @Nullable BlockTintSource tintSource) Deprecated.FluidModel(ChunkSectionLayer layer, Material.Baked stillMaterial, Material.Baked flowingMaterial, @Nullable Material.Baked overlayMaterial, @Nullable FluidTintSource fluidTintSource) FluidModel(ChunkSectionLayer layer, Material.Baked stillMaterial, Material.Baked flowingMaterial, @Nullable Material.Baked overlayMaterial, @Nullable FluidTintSource fluidTintSource, @Nullable CustomFluidRenderer customRenderer) Creates an instance of aFluidModelrecord class. -
Uses of Material.Baked in net.minecraft.client.renderer.block.dispatch
Fields in net.minecraft.client.renderer.block.dispatch declared as Material.BakedMethods in net.minecraft.client.renderer.block.dispatch that return Material.BakedModifier and TypeMethodDescriptionBlockStateModel.particleMaterial()BlockStateModelPart.particleMaterial()SingleVariant.particleMaterial()WeightedVariants.particleMaterial()WeightedVariants.particleMaterial(BlockAndTintGetter level, BlockPos pos, BlockState state) -
Uses of Material.Baked in net.minecraft.client.renderer.block.dispatch.multipart
Fields in net.minecraft.client.renderer.block.dispatch.multipart declared as Material.BakedModifier and TypeFieldDescriptionprivate final Material.BakedMultiPartModel.SharedBakedState.particleMaterialMethods in net.minecraft.client.renderer.block.dispatch.multipart that return Material.BakedModifier and TypeMethodDescriptionMultiPartModel.particleMaterial()MultiPartModel.particleMaterial(BlockAndTintGetter level, BlockPos pos, BlockState state) -
Uses of Material.Baked in net.minecraft.client.renderer.item
Fields in net.minecraft.client.renderer.item declared as Material.BakedModifier and TypeFieldDescriptionprivate @Nullable Material.BakedItemStackRenderState.LayerRenderState.particleMaterialprivate final Material.BakedModelRenderProperties.particleMaterialThe field for theparticleMaterialrecord component.Methods in net.minecraft.client.renderer.item that return Material.BakedModifier and TypeMethodDescriptionModelRenderProperties.particleMaterial()Returns the value of theparticleMaterialrecord component.@Nullable Material.BakedItemStackRenderState.pickParticleMaterial(RandomSource randomSource) Methods in net.minecraft.client.renderer.item with parameters of type Material.BakedModifier and TypeMethodDescriptionvoidItemStackRenderState.LayerRenderState.setParticleMaterial(Material.Baked particleMaterial) Constructors in net.minecraft.client.renderer.item with parameters of type Material.BakedModifierConstructorDescriptionModelRenderProperties(boolean usesBlockLight, Material.Baked particleMaterial, ItemTransforms transforms) Creates an instance of aModelRenderPropertiesrecord class. -
Uses of Material.Baked in net.minecraft.client.resources.model
Fields in net.minecraft.client.resources.model declared as Material.BakedModifier and TypeFieldDescriptionprivate final Material.BakedSimpleModelWrapper.particleMaterialThe field for theparticleMaterialrecord component.Fields in net.minecraft.client.resources.model with type parameters of type Material.BakedModifier and TypeFieldDescriptionprivate static final ModelDiscovery.Slot<Material.Baked> ModelDiscovery.ModelWrapper.KEY_PARTICLE_SPRITEMethods in net.minecraft.client.resources.model that return Material.BakedModifier and TypeMethodDescriptionSimpleModelWrapper.particleMaterial()Returns the value of theparticleMaterialrecord component.ModelDiscovery.ModelWrapper.resolveParticleMaterial(TextureSlots textureSlots, ModelBaker baker) default Material.BakedResolvedModel.resolveParticleMaterial(TextureSlots textureSlots, ModelBaker baker) static Material.BakedResolvedModel.resolveParticleMaterial(TextureSlots textureSlots, ModelBaker baker, ModelDebugName resolvedModel) Constructors in net.minecraft.client.resources.model with parameters of type Material.BakedModifierConstructorDescriptionSimpleModelWrapper(QuadCollection quads, boolean useAmbientOcclusion, Material.Baked particleMaterial) Creates an instance of aSimpleModelWrapperrecord class. -
Uses of Material.Baked in net.minecraft.client.resources.model.cuboid
Fields in net.minecraft.client.resources.model.cuboid declared as Material.BakedModifier and TypeFieldDescriptionprivate final Material.BakedItemModelGenerator.ItemLayerKey.materialThe field for thematerialrecord component.Methods in net.minecraft.client.resources.model.cuboid that return Material.BakedModifier and TypeMethodDescriptionItemModelGenerator.ItemLayerKey.material()Returns the value of thematerialrecord component.Methods in net.minecraft.client.resources.model.cuboid with parameters of type Material.BakedModifier and TypeMethodDescriptionstatic BakedQuadFaceBakery.bakeQuad(ModelBaker modelBaker, org.joml.Vector3fc from, org.joml.Vector3fc to, CuboidFace face, Material.Baked material, Direction facing, ModelState modelState, @Nullable CuboidRotation elementRotation, boolean shade, int lightEmission) private static TransparencyFaceBakery.computeMaterialTransparency(Material.Baked material, CuboidFace.UVs uvs) Constructors in net.minecraft.client.resources.model.cuboid with parameters of type Material.BakedModifierConstructorDescriptionItemLayerKey(Material.Baked material, ModelState modelState, int layerIndex) Creates an instance of aItemLayerKeyrecord class. -
Uses of Material.Baked in net.minecraft.client.resources.model.geometry
Methods in net.minecraft.client.resources.model.geometry with parameters of type Material.BakedModifier and TypeMethodDescriptionstatic BakedQuad.MaterialInfoBakedQuad.MaterialInfo.of(Material.Baked material, Transparency transparency, int tintIndex, boolean shade, int lightEmission) static BakedQuad.MaterialInfoBakedQuad.MaterialInfo.of(Material.Baked material, Transparency transparency, int tintIndex, boolean shade, int lightEmission, boolean ambientOcclusion) -
Uses of Material.Baked in net.minecraft.client.resources.model.sprite
Methods in net.minecraft.client.resources.model.sprite that return Material.BakedModifier and TypeMethodDescriptionMaterialBaker.get(Material material, ModelDebugName name) MaterialBaker.reportMissingReference(String reference, ModelDebugName name) default Material.BakedMaterialBaker.resolveSlot(TextureSlots slots, String id, ModelDebugName name) -
Uses of Material.Baked in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions that return Material.BakedModifier and TypeMethodDescriptiondefault Material.BakedBlockStateModelExtension.particleMaterial(BlockAndTintGetter level, BlockPos pos, BlockState state) Returns the particle icon. -
Uses of Material.Baked in net.neoforged.neoforge.client.model
Methods in net.neoforged.neoforge.client.model that return Material.BakedModifier and TypeMethodDescriptionDelegateBlockStateModel.particleMaterial()Deprecated.DelegateBlockStateModel.particleMaterial(BlockAndTintGetter level, BlockPos pos, BlockState state) Methods in net.neoforged.neoforge.client.model with parameters of type Material.BakedModifier and TypeMethodDescriptionstatic QuadCollectionUnbakedElementsHelper.bakeItemMaskQuads(ModelBaker baker, int layerIndex, Material.Baked maskMaterial, Material.Baked outputMaterial, ModelState modelState) static QuadCollectionUnbakedElementsHelper.bakeItemMaskQuads(ModelBaker baker, int layerIndex, Material.Baked maskMaterial, Material.Baked outputMaterial, ModelState modelState, ExtraFaceData faceData) Bakes quads in the shape of the specified mask texture with the specified output texture applied to them.static QuadCollectionUnbakedElementsHelper.bakeItemMaskQuads(ModelBaker baker, int layerIndex, Material.Baked maskMaterial, Material.Baked outputMaterial, ModelState modelState, ExtraFaceData faceData, UnaryOperator<BakedQuad.MaterialInfo> materialModifier) Bakes quads in the shape of the specified mask texture with the specified output texture applied to them.Method parameters in net.neoforged.neoforge.client.model with type arguments of type Material.BakedModifier and TypeMethodDescriptionUnbakedElementsHelper.bakeElements(ModelBaker baker, List<CuboidModelElement> elements, Function<String, Material.Baked> materialGetter, ModelState modelState) Bakes a list of block elements and returns the list of baked quads.static voidUnbakedElementsHelper.bakeElements(ModelBaker baker, QuadCollection.Builder builder, List<CuboidModelElement> elements, Function<String, Material.Baked> materialGetter, ModelState modelState) Bakes a list of block elements and feeds the baked quads to a quad collection builder. -
Uses of Material.Baked in net.neoforged.neoforge.client.model.block
Fields in net.neoforged.neoforge.client.model.block declared as Material.BakedModifier and TypeFieldDescriptionprivate final Material.BakedCompositeBlockModel.particleMaterialMethods in net.neoforged.neoforge.client.model.block that return Material.BakedModifier and TypeMethodDescriptionCompositeBlockModel.particleMaterial()CompositeBlockModel.particleMaterial(BlockAndTintGetter level, BlockPos pos, BlockState state) -
Uses of Material.Baked in net.neoforged.neoforge.client.model.obj
Methods in net.neoforged.neoforge.client.model.obj with parameters of type Material.BakedModifier and TypeMethodDescriptionObjGeometry.makeQuad(ModelBaker baker, int[][] indices, int tintIndex, org.joml.Vector4f colorTint, org.joml.Vector4f ambientColor, Material.Baked material, Transparency transparency, Transformation transform) -
Uses of Material.Baked in net.neoforged.neoforge.client.model.pipeline
Methods in net.neoforged.neoforge.client.model.pipeline with parameters of type Material.BakedModifier and TypeMethodDescriptionvoidQuadBakingVertexConsumer.setSprite(Material.Baked material, Transparency transparency) -
Uses of Material.Baked in net.neoforged.neoforge.client.model.quad
Methods in net.neoforged.neoforge.client.model.quad with parameters of type Material.BakedModifier and TypeMethodDescriptionMutableQuad.setSprite(Material.Baked material, Transparency transparency) Changes the texture atlas sprite used by this quad.MutableQuad.setSpriteAndMoveUv(Material.Baked material, Transparency transparency) Changes the sprite and remaps the UV to the new sprites position in the texture atlas.
FluidModel(ChunkSectionLayer, Material.Baked, Material.Baked, Material.Baked, net.neoforged.neoforge.client.fluid.FluidTintSource)instead