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 TextureAtlasSpriteMethods in net.minecraft.client.gui with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionprivate void
GuiGraphics.blitNineSlicedSprite
(Function<ResourceLocation, RenderType> p_362339_, TextureAtlasSprite p_294394_, GuiSpriteScaling.NineSlice p_295735_, int p_294769_, int p_294546_, int p_294421_, int p_295807_, int p_295009_) private void
GuiGraphics.blitNineSliceInnerSegment
(Function<ResourceLocation, RenderType> p_371823_, GuiSpriteScaling.NineSlice p_371657_, TextureAtlasSprite p_371812_, int p_371894_, int p_371565_, int p_371606_, int p_371781_, int p_371379_, int p_371448_, int p_371442_, int p_371801_, int p_371588_, int p_371206_, int p_371311_) void
GuiGraphics.blitSprite
(Function<ResourceLocation, RenderType> p_364096_, TextureAtlasSprite p_361089_, int p_294223_, int p_296245_, int p_296255_, int p_295669_) void
GuiGraphics.blitSprite
(Function<ResourceLocation, RenderType> p_363285_, TextureAtlasSprite p_364680_, int p_295194_, int p_295164_, int p_294823_, int p_295650_, int p_295401_) private void
GuiGraphics.blitSprite
(Function<ResourceLocation, RenderType> p_364269_, TextureAtlasSprite p_295122_, int p_295850_, int p_296348_, int p_295804_, int p_296465_, int p_295717_, int p_360779_, int p_363595_, int p_364585_, int p_361093_) private void
GuiGraphics.blitTiledSprite
(Function<ResourceLocation, RenderType> p_360478_, TextureAtlasSprite p_294349_, int p_295093_, int p_296434_, int p_295268_, int p_295203_, int p_296398_, int p_295542_, int p_296165_, int p_296256_, int p_294814_, int p_296352_, int p_296203_) private GuiMetadataSection
GuiSpriteManager.getMetadata
(TextureAtlasSprite p_294333_) GuiSpriteManager.getSpriteScaling
(TextureAtlasSprite p_294850_) -
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
Fields in net.minecraft.client.gui.screens.inventory declared as TextureAtlasSpriteModifier and TypeFieldDescriptionprivate TextureAtlasSprite
BeaconScreen.BeaconPowerButton.sprite
-
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 p_107413_, int p_107414_) ParticleEngine.MutableSpriteSet.get
(RandomSource p_233889_) SpriteSet.get
(int p_107966_, int p_107967_) SpriteSet.get
(RandomSource p_234102_) Methods in net.minecraft.client.particle with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionprotected void
TextureSheetParticle.setSprite
(TextureAtlasSprite p_108338_) Method parameters in net.minecraft.client.particle with type arguments of type TextureAtlasSpriteModifier and TypeMethodDescriptionvoid
ParticleEngine.MutableSpriteSet.rebind
(List<TextureAtlasSprite> p_107416_) -
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 p_173297_, PoseStack p_173298_, MultiBufferSource p_383030_) Constructors in net.minecraft.client.renderer with parameters of type TextureAtlasSpriteModifierConstructorDescriptionSpriteCoordinateExpander
(VertexConsumer p_110798_, TextureAtlasSprite p_110799_) -
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 p_110883_) Deprecated.BlockModelShaper.getParticleIcon
(BlockState p_110883_, 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 p_405715_, BlockElementFace p_405073_, TextureAtlasSprite p_404850_, Direction p_404976_, ModelState p_405762_) 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 p_404992_, BlockElementFace.UVs p_405227_) 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, RenderType 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 p_115559_, VertexConsumer p_115560_, int[] p_363896_, int p_115562_, int p_115563_, TextureAtlasSprite p_115564_, TextureAtlasSprite p_115565_) -
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 p_387539_) Methods in net.minecraft.client.renderer.item with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionvoid
ItemStackRenderState.LayerRenderState.setParticleIcon
(TextureAtlasSprite p_404929_) 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 p_118317_) 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> p_276117_, int p_276111_, int p_276112_) 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 p_261769_, String p_262102_, Map<ResourceLocation, TextureAtlasSprite> p_261722_) 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 p_335945_) PaintingTextureManager.get
(PaintingVariant p_235034_) PaintingTextureManager.getBackSprite()
protected TextureAtlasSprite
TextureAtlasHolder.getSprite
(ResourceLocation p_118902_) -
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 p_387809_, ModelDebugName p_404904_) AtlasSet.StitchResult.getSprite
(ResourceLocation p_249039_) AtlasSet.StitchResult.missing()
WeightedVariants.particleIcon()
SpriteGetter.reportMissingReference
(String p_387031_, ModelDebugName p_405621_) ModelDiscovery.ModelWrapper.resolveParticleSprite
(TextureSlots p_405019_, ModelBaker p_405134_) default TextureAtlasSprite
ResolvedModel.resolveParticleSprite
(TextureSlots p_405126_, ModelBaker p_404926_) static TextureAtlasSprite
ResolvedModel.resolveParticleSprite
(TextureSlots p_404698_, ModelBaker p_405533_, ModelDebugName p_405824_) default TextureAtlasSprite
SpriteGetter.resolveSlot
(TextureSlots p_404867_, String p_405322_, ModelDebugName p_405457_) 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)
.