Uses of Record Class
net.minecraft.client.renderer.block.model.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
Methods in net.minecraft.client.renderer.block that return Material.BakedModifier and TypeMethodDescriptionBlockModelShaper.getParticleMaterial(BlockState blockState) Deprecated.BlockModelShaper.getParticleMaterial(BlockState blockState, BlockAndTintGetter level, BlockPos pos) -
Uses of Material.Baked in net.minecraft.client.renderer.block.model
Fields in net.minecraft.client.renderer.block.model declared as Material.BakedModifier and TypeFieldDescriptionprivate final Material.BakedItemModelGenerator.ItemLayerKey.materialThe field for thematerialrecord component.private final Material.BakedSimpleModelWrapper.particleMaterialThe field for theparticleMaterialrecord component.Methods in net.minecraft.client.renderer.block.model that return Material.BakedModifier and TypeMethodDescriptionItemModelGenerator.ItemLayerKey.material()Returns the value of thematerialrecord component.BlockModelPart.particleMaterial()BlockStateModel.particleMaterial()Deprecated.SimpleModelWrapper.particleMaterial()Returns the value of theparticleMaterialrecord component.SingleVariant.particleMaterial()Methods in net.minecraft.client.renderer.block.model with parameters of type Material.BakedModifier and TypeMethodDescriptionstatic BakedQuadFaceBakery.bakeQuad(ModelBaker modelBaker, Vector3fc from, Vector3fc to, BlockElementFace face, Material.Baked material, Direction facing, ModelState modelState, @Nullable BlockElementRotation elementRotation, boolean shade, int lightEmission) private static TransparencyFaceBakery.computeMaterialTransparency(Material.Baked material, BlockElementFace.UVs uvs) static BakedQuad.SpriteInfoBakedQuad.SpriteInfo.of(Material.Baked material, Transparency transparency) Constructors in net.minecraft.client.renderer.block.model with parameters of type Material.BakedModifierConstructorDescriptionItemLayerKey(Material.Baked material, ModelState modelState, int layerIndex) Creates an instance of aItemLayerKeyrecord class.SimpleModelWrapper(QuadCollection quads, boolean useAmbientOcclusion, Material.Baked particleMaterial, boolean hasTranslucency) Creates an instance of aSimpleModelWrapperrecord class. -
Uses of Material.Baked in net.minecraft.client.renderer.block.model.multipart
Fields in net.minecraft.client.renderer.block.model.multipart declared as Material.BakedModifier and TypeFieldDescriptionprivate final Material.BakedMultiPartModel.SharedBakedState.particleMaterialMethods in net.minecraft.client.renderer.block.model.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.BakedFields 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 TypeMethodDescriptionMaterialBaker.get(Material material, ModelDebugName name) WeightedVariants.particleMaterial()WeightedVariants.particleMaterial(BlockAndTintGetter level, BlockPos pos, BlockState state) MaterialBaker.reportMissingReference(String reference, ModelDebugName name) 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) 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 TypeMethodDescriptionUnbakedElementsHelper.bakeItemMaskQuads(ModelBaker baker, int layerIndex, Material.Baked maskMaterial, Material.Baked outputMaterial, ModelState modelState) UnbakedElementsHelper.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.Method parameters in net.neoforged.neoforge.client.model with type arguments of type Material.BakedModifier and TypeMethodDescriptionUnbakedElementsHelper.bakeElements(ModelBaker baker, List<BlockElement> 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<BlockElement> 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)
BlockStateModelExtension.particleMaterial(net.minecraft.world.level.BlockAndTintGetter, net.minecraft.core.BlockPos, net.minecraft.world.level.block.state.BlockState).