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.getTexture
(BlockState p_110883_, Level level, BlockPos pos) -
Uses of TextureAtlasSprite in net.minecraft.client.renderer.block.model
Fields in net.minecraft.client.renderer.block.model declared as TextureAtlasSpriteMethods in net.minecraft.client.renderer.block.model that return TextureAtlasSpriteMethods in net.minecraft.client.renderer.block.model with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionstatic BakedQuad
FaceBakery.bakeQuad
(org.joml.Vector3f p_253895_, org.joml.Vector3f p_253976_, 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_, Direction p_111623_, BlockFaceUV p_111624_, 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_, BlockFaceUV p_111619_) private static int[]
FaceBakery.makeVertices
(BlockFaceUV p_111574_, TextureAtlasSprite p_111575_, Direction p_111576_, float[] p_111577_, Transformation p_111578_, BlockElementRotation p_111579_) Constructors in net.minecraft.client.renderer.block.model with parameters of type TextureAtlasSpriteModifierConstructorDescriptionBakedQuad
(int[] p_111298_, int p_111299_, Direction p_111300_, TextureAtlasSprite p_111301_, boolean p_111302_, int p_361140_) BakedQuad
(int[] p_111298_, int p_111299_, Direction p_111300_, TextureAtlasSprite p_111301_, boolean p_111302_, int p_361140_, boolean hasAmbientOcclusion) -
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
Methods in net.minecraft.client.renderer.item that return TextureAtlasSprite -
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 TextureAtlasSpriteModifier and TypeFieldDescriptionprivate TextureAtlasSprite
SimpleBakedModel.Builder.particleIcon
private final TextureAtlasSprite
SimpleBakedModel.particleIcon
Methods in net.minecraft.client.resources.model that return TextureAtlasSpriteModifier and TypeMethodDescriptionprivate static TextureAtlasSprite
SimpleBakedModel.findSprite
(SpriteGetter p_386599_, TextureSlots p_388750_, String p_386831_) ModelBakery.TextureGetter.get
(ModelDebugName p_388528_, Material p_352128_) BakedModel.getParticleIcon()
Deprecated.DelegateBakedModel.getParticleIcon()
Deprecated.DelegateBakedModel.getParticleIcon
(ModelData modelData) SimpleBakedModel.getParticleIcon()
AtlasSet.StitchResult.getSprite
(ResourceLocation p_249039_) AtlasSet.StitchResult.missing()
ModelBakery.TextureGetter.reportMissingReference
(ModelDebugName p_388282_, String p_388569_) SpriteGetter.reportMissingReference
(String p_387031_) Material.sprite()
Methods in net.minecraft.client.resources.model with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionstatic BakedQuad
SimpleBakedModel.bakeFace
(BlockElement p_388164_, BlockElementFace p_388456_, TextureAtlasSprite p_388731_, Direction p_386700_, ModelState p_386475_) SimpleBakedModel.Builder.particle
(TextureAtlasSprite p_119529_) Constructors in net.minecraft.client.resources.model with parameters of type TextureAtlasSpriteModifierConstructorDescriptionSimpleBakedModel
(List<BakedQuad> p_119489_, Map<Direction, List<BakedQuad>> p_119490_, boolean p_119491_, boolean p_119492_, boolean p_119493_, TextureAtlasSprite p_119494_, ItemTransforms p_119495_) Deprecated.Forge: Use variant with RenderTypeGroupSimpleBakedModel
(List<BakedQuad> p_119489_, Map<Direction, List<BakedQuad>> p_119490_, boolean p_119491_, boolean p_119492_, boolean p_119493_, TextureAtlasSprite p_119494_, ItemTransforms p_119495_, RenderTypeGroup renderTypes) -
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
IModelBakerExtension.findSprite
(TextureSlots slots, String slotName) Finds a sprite for the given slot name.default TextureAtlasSprite
IBakedModelExtension.getParticleIcon
(ModelData data) -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client.model
Fields in net.neoforged.neoforge.client.model declared as TextureAtlasSpriteModifier and TypeFieldDescriptionprivate TextureAtlasSprite
UnbakedCompositeModel.Baked.Builder.particle
private final TextureAtlasSprite
UnbakedCompositeModel.Baked.particle
Methods in net.neoforged.neoforge.client.model that return TextureAtlasSpriteModifier and TypeMethodDescriptionEmptyModel.Baked.getParticleIcon()
UnbakedCompositeModel.Baked.getParticleIcon()
Methods in net.neoforged.neoforge.client.model with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionUnbakedCompositeModel.Baked.builder
(boolean isAmbientOcclusion, boolean isGui3d, boolean isSideLit, TextureAtlasSprite particle, ItemTransforms cameraTransforms) static 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.static IModelBuilder
<?> IModelBuilder.of
(boolean hasAmbientOcclusion, boolean usesBlockLight, boolean isGui3d, ItemTransforms transforms, TextureAtlasSprite particle, RenderTypeGroup renderTypes) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new model builder that uses the provided attributes in the final baked model.UnbakedCompositeModel.Baked.Builder.setParticle
(TextureAtlasSprite particleSprite) 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
(IModelBuilder<?> builder, List<BlockElement> elements, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState) Bakes a list of block elements and feeds the baked quads to a model builder.Constructors in net.neoforged.neoforge.client.model with parameters of type TextureAtlasSpriteModifierConstructorDescriptionBaked
(boolean isSideLit, boolean isAmbientOcclusion, TextureAtlasSprite particle, ItemTransforms transforms, com.google.common.collect.ImmutableMap<String, BakedModel> children, com.google.common.collect.ImmutableList<BakedModel> itemPasses) private
Builder
(boolean isAmbientOcclusion, boolean isGui3d, boolean isSideLit, TextureAtlasSprite particle, ItemTransforms transforms) private
Simple
(boolean hasAmbientOcclusion, boolean usesBlockLight, boolean isGui3d, ItemTransforms transforms, TextureAtlasSprite particle, RenderTypeGroup renderTypes) -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client.model.obj
Methods in net.neoforged.neoforge.client.model.obj with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionObjModel.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. -
Uses of TextureAtlasSprite in net.neoforged.neoforge.oldtest.client.model
Methods in net.neoforged.neoforge.oldtest.client.model that return TextureAtlasSprite
IBakedModelExtension.getParticleIcon(net.neoforged.neoforge.client.model.data.ModelData)