Uses of Class
net.minecraft.client.renderer.texture.TextureAtlasSprite
Packages that use TextureAtlasSprite
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
Extension interfaces for
client
-only classes.-
Uses of TextureAtlasSprite in net.minecraft.client
Methods in net.minecraft.client that return types with arguments of type TextureAtlasSprite -
Uses of TextureAtlasSprite in net.minecraft.client.gui
Methods in net.minecraft.client.gui that return TextureAtlasSpriteModifier and TypeMethodDescriptionGuiSpriteManager.getSprite
(ResourceLocation pLocation) Gets a sprite associated with the passed resource location.Methods in net.minecraft.client.gui with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionprivate void
GuiGraphics.blitNineSlicedSprite
(RenderPipeline pPipeline, TextureAtlasSprite pSprite, GuiSpriteScaling.NineSlice pNineSlice, int pX, int pY, int pWidth, int pHeight, int pColor) private void
GuiGraphics.blitNineSliceInnerSegment
(RenderPipeline pPipeline, GuiSpriteScaling.NineSlice pNineSlice, TextureAtlasSprite pSprite, int pBorderMinX, int pBorderMinY, int pBorderMaxX, int pBorderMaxY, int pU, int pV, int pSpriteWidth, int pSpriteHeight, int pTextureWidth, int pTextureHeight, int pColor) void
GuiGraphics.blitSprite
(RenderPipeline pPipeline, TextureAtlasSprite pSprite, int pX, int pWidth, int pY, int pHeight) void
GuiGraphics.blitSprite
(RenderPipeline pPipeline, TextureAtlasSprite pSprite, int pX, int pY, int pWidth, int pHeight, int pColor) private void
GuiGraphics.blitSprite
(RenderPipeline pPipeline, TextureAtlasSprite pSprite, int pTextureWidth, int pTextureHeight, int pU, int pV, int pX, int pY, int pWidth, int pHeight, int pColor) private void
GuiGraphics.blitTiledSprite
(RenderPipeline pPipeline, TextureAtlasSprite pSprite, int pX, int pY, int pWidth, int pHeight, int pU, int pV, int pSpriteWidth, int pSpriteHeight, int pTextureWidth, int pTextureHeight, int pColor) private GuiMetadataSection
GuiSpriteManager.getMetadata
(TextureAtlasSprite pSprite) GuiSpriteManager.getSpriteScaling
(TextureAtlasSprite pSprite) -
Uses of TextureAtlasSprite in net.minecraft.client.gui.screens
Fields in net.minecraft.client.gui.screens declared as TextureAtlasSpriteModifier and TypeFieldDescriptionprivate TextureAtlasSprite
ReceivingLevelScreen.cachedNetherPortalSprite
Methods in net.minecraft.client.gui.screens that return TextureAtlasSpriteModifier and TypeMethodDescriptionprivate TextureAtlasSprite
ReceivingLevelScreen.getNetherPortalSprite()
-
Uses of TextureAtlasSprite in net.minecraft.client.gui.screens.inventory
Methods in net.minecraft.client.gui.screens.inventory with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionprivate void
LoomScreen.renderBannerOnButton
(GuiGraphics pGuiGraphics, int pX, int pY, TextureAtlasSprite pSprite) -
Uses of TextureAtlasSprite in net.minecraft.client.particle
Fields in net.minecraft.client.particle declared as TextureAtlasSpriteFields in net.minecraft.client.particle with type parameters of type TextureAtlasSpriteModifier and TypeFieldDescriptionprivate List
<TextureAtlasSprite> ParticleEngine.MutableSpriteSet.sprites
Methods in net.minecraft.client.particle that return TextureAtlasSpriteModifier and TypeMethodDescriptionParticleEngine.MutableSpriteSet.get
(int pParticleAge, int pParticleMaxAge) ParticleEngine.MutableSpriteSet.get
(RandomSource pRandom) SpriteSet.get
(int pAge, int pLifetime) SpriteSet.get
(RandomSource pRandom) Methods in net.minecraft.client.particle with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionprotected void
TextureSheetParticle.setSprite
(TextureAtlasSprite pSprite) Method parameters in net.minecraft.client.particle with type arguments of type TextureAtlasSpriteModifier and TypeMethodDescriptionvoid
ParticleEngine.MutableSpriteSet.rebind
(List<TextureAtlasSprite> pSprites) -
Uses of TextureAtlasSprite in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer declared as TextureAtlasSpriteModifier and TypeFieldDescriptionprivate final TextureAtlasSprite
SpriteCoordinateExpander.sprite
Methods in net.minecraft.client.renderer with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionprivate static void
ScreenEffectRenderer.renderTex
(TextureAtlasSprite pTexture, PoseStack pPoseStack, MultiBufferSource pBufferSource) Constructors in net.minecraft.client.renderer with parameters of type TextureAtlasSpriteModifierConstructorDescriptionSpriteCoordinateExpander
(VertexConsumer pDelegate, TextureAtlasSprite pSprite) -
Uses of TextureAtlasSprite in net.minecraft.client.renderer.block
Fields in net.minecraft.client.renderer.block declared as TextureAtlasSpriteModifier and TypeFieldDescriptionprivate final TextureAtlasSprite[]
LiquidBlockRenderer.lavaIcons
private final TextureAtlasSprite[]
LiquidBlockRenderer.waterIcons
private TextureAtlasSprite
LiquidBlockRenderer.waterOverlay
Methods in net.minecraft.client.renderer.block that return TextureAtlasSpriteModifier and TypeMethodDescriptionBlockModelShaper.getParticleIcon
(BlockState pState) Deprecated.BlockModelShaper.getParticleIcon
(BlockState pState, BlockAndTintGetter level, BlockPos pos) -
Uses of TextureAtlasSprite in net.minecraft.client.renderer.block.model
Fields in net.minecraft.client.renderer.block.model declared as TextureAtlasSpriteModifier and TypeFieldDescriptionprivate final TextureAtlasSprite
SimpleModelWrapper.particleIcon
The field for theparticleIcon
record component.private final TextureAtlasSprite
BakedQuad.sprite
The field for thesprite
record component.Methods in net.minecraft.client.renderer.block.model that return TextureAtlasSpriteModifier and TypeMethodDescriptionBlockModelPart.particleIcon()
BlockStateModel.particleIcon()
Deprecated.SimpleModelWrapper.particleIcon()
Returns the value of theparticleIcon
record component.SingleVariant.particleIcon()
BakedQuad.sprite()
Returns the value of thesprite
record component.Methods in net.minecraft.client.renderer.block.model with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionstatic BakedQuad
SimpleUnbakedGeometry.bakeFace
(BlockElement pElement, BlockElementFace pFace, TextureAtlasSprite pSprite, Direction pDirection, ModelState pModelState) static BakedQuad
FaceBakery.bakeQuad
(org.joml.Vector3fc p_404957_, org.joml.Vector3fc p_405340_, BlockElementFace p_111603_, TextureAtlasSprite p_111604_, Direction p_111605_, ModelState p_111606_, BlockElementRotation p_111607_, boolean p_111608_, int p_364857_) private static void
FaceBakery.bakeVertex
(int[] p_111621_, int p_111622_, FaceInfo p_405531_, BlockElementFace.UVs p_405537_, Quadrant p_404831_, org.joml.Matrix4fc p_405449_, float[] p_111625_, TextureAtlasSprite p_111626_, Transformation p_111627_, BlockElementRotation p_111628_) private static void
FaceBakery.fillVertex
(int[] p_111615_, int p_111616_, org.joml.Vector3f p_254291_, TextureAtlasSprite p_111618_, float p_405674_, float p_405591_) private static int[]
FaceBakery.makeVertices
(BlockElementFace.UVs p_405062_, Quadrant p_405779_, org.joml.Matrix4fc p_404746_, TextureAtlasSprite p_111575_, Direction p_111576_, float[] p_111577_, Transformation p_111578_, BlockElementRotation p_111579_) private static BlockElementFace.UVs
FaceBakery.shrinkUVs
(TextureAtlasSprite pSprite, BlockElementFace.UVs pUvs) Constructors in net.minecraft.client.renderer.block.model with parameters of type TextureAtlasSpriteModifierConstructorDescriptionBakedQuad
(int[] vertices, int tintIndex, Direction direction, TextureAtlasSprite sprite, boolean shade, int lightEmission) BakedQuad
(int[] vertices, int tintIndex, Direction direction, TextureAtlasSprite sprite, boolean shade, int lightEmission, boolean hasAmbientOcclusion) Creates an instance of aBakedQuad
record class.SimpleModelWrapper
(QuadCollection quads, boolean useAmbientOcclusion, TextureAtlasSprite particleIcon) Deprecated.SimpleModelWrapper
(QuadCollection quads, boolean useAmbientOcclusion, TextureAtlasSprite particleIcon, ChunkSectionLayer renderType) Creates an instance of aSimpleModelWrapper
record class. -
Uses of TextureAtlasSprite in net.minecraft.client.renderer.block.model.multipart
Fields in net.minecraft.client.renderer.block.model.multipart declared as TextureAtlasSpriteModifier and TypeFieldDescription(package private) final TextureAtlasSprite
MultiPartModel.SharedBakedState.particleIcon
Methods in net.minecraft.client.renderer.block.model.multipart that return TextureAtlasSprite -
Uses of TextureAtlasSprite in net.minecraft.client.renderer.entity
Methods in net.minecraft.client.renderer.entity with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionprivate void
PaintingRenderer.renderPainting
(PoseStack pPoseStack, VertexConsumer pBuffer, int[] pLightCoords, int pWidth, int pHeight, TextureAtlasSprite pFrontSprite, TextureAtlasSprite pBackSprite) -
Uses of TextureAtlasSprite in net.minecraft.client.renderer.entity.layers
Fields in net.minecraft.client.renderer.entity.layers with type parameters of type TextureAtlasSpriteModifier and TypeFieldDescriptionprivate final Function
<EquipmentLayerRenderer.TrimSpriteKey, TextureAtlasSprite> EquipmentLayerRenderer.trimSpriteLookup
-
Uses of TextureAtlasSprite in net.minecraft.client.renderer.item
Fields in net.minecraft.client.renderer.item declared as TextureAtlasSpriteModifier and TypeFieldDescription(package private) TextureAtlasSprite
ItemStackRenderState.LayerRenderState.particleIcon
private final TextureAtlasSprite
ModelRenderProperties.particleIcon
The field for theparticleIcon
record component.Methods in net.minecraft.client.renderer.item that return TextureAtlasSpriteModifier and TypeMethodDescriptionModelRenderProperties.particleIcon()
Returns the value of theparticleIcon
record component.ItemStackRenderState.pickParticleIcon
(RandomSource pRandom) Methods in net.minecraft.client.renderer.item with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionvoid
ItemStackRenderState.LayerRenderState.setParticleIcon
(TextureAtlasSprite pParticleIcon) Constructors in net.minecraft.client.renderer.item with parameters of type TextureAtlasSpriteModifierConstructorDescriptionModelRenderProperties
(boolean usesBlockLight, TextureAtlasSprite particleIcon, ItemTransforms transforms) Creates an instance of aModelRenderProperties
record class. -
Uses of TextureAtlasSprite in net.minecraft.client.renderer.state
Fields in net.minecraft.client.renderer.state declared as TextureAtlasSprite -
Uses of TextureAtlasSprite in net.minecraft.client.renderer.texture
Fields in net.minecraft.client.renderer.texture declared as TextureAtlasSpriteModifier and TypeFieldDescriptionprivate final TextureAtlasSprite
SpriteLoader.Preparations.missing
The field for themissing
record component.private TextureAtlasSprite
TextureAtlas.missingSprite
Fields in net.minecraft.client.renderer.texture with type parameters of type TextureAtlasSpriteModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, TextureAtlasSprite> SpriteLoader.Preparations.regions
The field for theregions
record component.private Map
<ResourceLocation, TextureAtlasSprite> TextureAtlas.texturesByName
Methods in net.minecraft.client.renderer.texture that return TextureAtlasSpriteModifier and TypeMethodDescriptionTextureAtlas.getSprite
(ResourceLocation pName) SpriteLoader.Preparations.missing()
Returns the value of themissing
record component.Methods in net.minecraft.client.renderer.texture that return types with arguments of type TextureAtlasSpriteModifier and TypeMethodDescriptionprivate Map
<ResourceLocation, TextureAtlasSprite> SpriteLoader.getStitchedSprites
(Stitcher<SpriteContents> pStitcher, int pX, int pY) TextureAtlas.getTextures()
SpriteLoader.Preparations.regions()
Returns the value of theregions
record component.Method parameters in net.minecraft.client.renderer.texture with type arguments of type TextureAtlasSpriteModifier and TypeMethodDescriptionprivate static void
TextureAtlas.dumpSpriteNames
(Path pOutputDir, String pOutputFilename, Map<ResourceLocation, TextureAtlasSprite> pSprites) Constructors in net.minecraft.client.renderer.texture with parameters of type TextureAtlasSpriteModifierConstructorDescriptionPreparations
(int width, int height, int mipLevel, TextureAtlasSprite missing, Map<ResourceLocation, TextureAtlasSprite> regions, CompletableFuture<Void> readyForUpload) Creates an instance of aPreparations
record class.Constructor parameters in net.minecraft.client.renderer.texture with type arguments of type TextureAtlasSpriteModifierConstructorDescriptionPreparations
(int width, int height, int mipLevel, TextureAtlasSprite missing, Map<ResourceLocation, TextureAtlasSprite> regions, CompletableFuture<Void> readyForUpload) Creates an instance of aPreparations
record class. -
Uses of TextureAtlasSprite in net.minecraft.client.resources
Methods in net.minecraft.client.resources that return TextureAtlasSpriteModifier and TypeMethodDescriptionMapDecorationTextureManager.get
(MapDecoration pMapDecoration) PaintingTextureManager.get
(PaintingVariant pPaintingVariant) PaintingTextureManager.getBackSprite()
protected TextureAtlasSprite
TextureAtlasHolder.getSprite
(ResourceLocation pLocation) Gets a sprite associated with the passed resource location. -
Uses of TextureAtlasSprite in net.minecraft.client.resources.model
Fields in net.minecraft.client.resources.model declared as TextureAtlasSpriteFields in net.minecraft.client.resources.model with type parameters of type TextureAtlasSpriteModifier and TypeFieldDescriptionprivate static final ModelDiscovery.Slot
<TextureAtlasSprite> ModelDiscovery.ModelWrapper.KEY_PARTICLE_SPRITE
Methods in net.minecraft.client.resources.model that return TextureAtlasSpriteModifier and TypeMethodDescriptionSpriteGetter.get
(Material pMaterial, ModelDebugName pDebugName) AtlasSet.StitchResult.getSprite
(ResourceLocation pLocation) AtlasSet.StitchResult.missing()
WeightedVariants.particleIcon()
SpriteGetter.reportMissingReference
(String pName, ModelDebugName pDebugName) ModelDiscovery.ModelWrapper.resolveParticleSprite
(TextureSlots pTextureSlots, ModelBaker pModelBaker) default TextureAtlasSprite
ResolvedModel.resolveParticleSprite
(TextureSlots pTextureSlots, ModelBaker pModelBaker) static TextureAtlasSprite
ResolvedModel.resolveParticleSprite
(TextureSlots pTextureSlots, ModelBaker pModelBaker, ModelDebugName pDebugName) default TextureAtlasSprite
SpriteGetter.resolveSlot
(TextureSlots pTextureSlots, String pName, ModelDebugName pModelDebugName) Material.sprite()
-
Uses of TextureAtlasSprite in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionstatic List
<BlockElement> ClientHooks.fixItemModelSeams
(List<BlockElement> elements, TextureAtlasSprite sprite) Modify the position and UVs of the edge quads of generated item models to account for sprite expansion of the front and back quad. -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event with type parameters of type TextureAtlasSpriteModifier and TypeFieldDescriptionprivate final Function
<Material, TextureAtlasSprite> ModelEvent.ModifyBakingResult.textureGetter
Methods in net.neoforged.neoforge.client.event that return types with arguments of type TextureAtlasSpriteModifier and TypeMethodDescriptionModelEvent.ModifyBakingResult.getTextureGetter()
Returns a lookup function to retrieveTextureAtlasSprite
s by name from any of the atlases handled by theModelManager
.Constructor parameters in net.neoforged.neoforge.client.event with type arguments of type TextureAtlasSpriteModifierConstructorDescriptionModifyBakingResult
(ModelBakery.BakingResult bakingResult, Function<Material, TextureAtlasSprite> textureGetter, ModelBakery modelBakery) -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions that return TextureAtlasSpriteModifier and TypeMethodDescriptiondefault TextureAtlasSprite
BlockStateModelExtension.particleIcon
(BlockAndTintGetter level, BlockPos pos, BlockState state) Returns the particle icon. -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client.model
Methods in net.neoforged.neoforge.client.model that return TextureAtlasSpriteModifier and TypeMethodDescriptionDelegateBlockStateModel.particleIcon()
Deprecated.DelegateBlockStateModel.particleIcon
(BlockAndTintGetter level, BlockPos pos, BlockState state) Methods in net.neoforged.neoforge.client.model with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionstatic List
<BlockElement> UnbakedElementsHelper.createUnbakedItemElements
(int layerIndex, TextureAtlasSprite sprite) static List
<BlockElement> UnbakedElementsHelper.createUnbakedItemElements
(int layerIndex, TextureAtlasSprite sprite, @Nullable ExtraFaceData faceData) Creates a list of block elements in the shape of the specified sprite contents.static List
<BlockElement> UnbakedElementsHelper.createUnbakedItemMaskElements
(int layerIndex, TextureAtlasSprite sprite) static List
<BlockElement> UnbakedElementsHelper.createUnbakedItemMaskElements
(int layerIndex, TextureAtlasSprite sprite, @Nullable ExtraFaceData faceData) Creates a list of block elements in the shape of the specified sprite contents.Method parameters in net.neoforged.neoforge.client.model with type arguments of type TextureAtlasSpriteModifier and TypeMethodDescriptionUnbakedElementsHelper.bakeElements
(List<BlockElement> elements, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState) Bakes a list of block elements and returns the list of baked quads.static void
UnbakedElementsHelper.bakeElements
(QuadCollection.Builder builder, List<BlockElement> elements, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState) Bakes a list of block elements and feeds the baked quads to a quad collection builder. -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client.model.block
Fields in net.neoforged.neoforge.client.model.block declared as TextureAtlasSpriteModifier and TypeFieldDescriptionprivate final TextureAtlasSprite
CompositeBlockModel.particleIcon
Methods in net.neoforged.neoforge.client.model.block that return TextureAtlasSprite -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client.model.obj
Methods in net.neoforged.neoforge.client.model.obj with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionObjGeometry.makeQuad
(int[][] indices, int tintIndex, org.joml.Vector4f colorTint, org.joml.Vector4f ambientColor, TextureAtlasSprite texture, Transformation transform) -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client.model.pipeline
Fields in net.neoforged.neoforge.client.model.pipeline declared as TextureAtlasSpriteMethods in net.neoforged.neoforge.client.model.pipeline with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionvoid
QuadBakingVertexConsumer.setSprite
(TextureAtlasSprite sprite) -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client.textures
Subclasses of TextureAtlasSprite in net.neoforged.neoforge.client.texturesModifier and TypeClassDescriptionclass
A helper sprite with UVs spanning the entire texture.Fields in net.neoforged.neoforge.client.textures declared as TextureAtlasSpriteModifier and TypeFieldDescriptionprivate static TextureAtlasSprite
FluidSpriteCache.missingSprite
Fields in net.neoforged.neoforge.client.textures with type parameters of type TextureAtlasSpriteModifier and TypeFieldDescriptionprivate static Map
<ResourceLocation, TextureAtlasSprite> FluidSpriteCache.textureLookup
Methods in net.neoforged.neoforge.client.textures that return TextureAtlasSpriteModifier and TypeMethodDescriptionstatic TextureAtlasSprite[]
FluidSpriteCache.getFluidSprites
(BlockAndTintGetter level, BlockPos pos, FluidState fluid) Returns an array holding the still sprite, the flowing sprite and the overlay sprite (if specified, otherwise null) of the given fluid at the given position.static TextureAtlasSprite
FluidSpriteCache.getSprite
(ResourceLocation texture) Returns a specified sprite or a missing sprite texture if sprite is not found.
BlockStateModelExtension.particleIcon(net.minecraft.world.level.BlockAndTintGetter, net.minecraft.core.BlockPos, net.minecraft.world.level.block.state.BlockState)
.