Uses of Class
net.minecraft.client.renderer.texture.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
-
Uses of TextureAtlasSprite in net.minecraft.client.gui
Modifier and TypeMethodDescriptionvoid
GuiGraphics.blit
(int p_282225_, int p_281487_, int p_281985_, int p_281329_, int p_283035_, TextureAtlasSprite p_281614_) void
GuiGraphics.blit
(int p_282416_, int p_282989_, int p_282618_, int p_282755_, int p_281717_, TextureAtlasSprite p_281874_, float p_283559_, float p_282730_, float p_283530_, float p_282246_) private void
GuiGraphics.blitNineSlicedSprite
(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.blitSprite
(TextureAtlasSprite p_295122_, int p_295850_, int p_296348_, int p_295804_, int p_296465_, int p_295717_) private void
GuiGraphics.blitSprite
(TextureAtlasSprite p_295420_, int p_294695_, int p_296458_, int p_294279_, int p_295235_, int p_295034_, int p_295689_, int p_294096_, int p_294846_, int p_295282_) private void
GuiGraphics.blitTiledSprite
(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
Modifier and TypeFieldDescriptionprivate TextureAtlasSprite
ReceivingLevelScreen.cachedNetherPortalSprite
Modifier and TypeMethodDescriptionprivate TextureAtlasSprite
ReceivingLevelScreen.getNetherPortalSprite()
-
Uses of TextureAtlasSprite in net.minecraft.client.gui.screens.inventory
Modifier and TypeFieldDescriptionprivate TextureAtlasSprite
BeaconScreen.BeaconPowerButton.sprite
-
Uses of TextureAtlasSprite in net.minecraft.client.particle
Modifier and TypeFieldDescriptionprivate List
<TextureAtlasSprite> ParticleEngine.MutableSpriteSet.sprites
Modifier 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_) Modifier and TypeMethodDescriptionprotected void
TextureSheetParticle.setSprite
(TextureAtlasSprite p_108338_) Modifier and TypeMethodDescriptionvoid
ParticleEngine.MutableSpriteSet.rebind
(List<TextureAtlasSprite> p_107416_) -
Uses of TextureAtlasSprite in net.minecraft.client.renderer
Modifier and TypeFieldDescriptionprivate final TextureAtlasSprite
SpriteCoordinateExpander.sprite
Modifier and TypeMethodDescriptionprivate static void
ScreenEffectRenderer.renderTex
(TextureAtlasSprite p_173297_, PoseStack p_173298_) ModifierConstructorDescriptionSpriteCoordinateExpander
(VertexConsumer p_110798_, TextureAtlasSprite p_110799_) -
Uses of TextureAtlasSprite in net.minecraft.client.renderer.block
Modifier and TypeFieldDescriptionprivate final TextureAtlasSprite[]
LiquidBlockRenderer.lavaIcons
private final TextureAtlasSprite[]
LiquidBlockRenderer.waterIcons
private TextureAtlasSprite
LiquidBlockRenderer.waterOverlay
Modifier 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
Modifier and TypeMethodDescriptionstatic BakedQuad
BlockModel.bakeFace
(BlockElement p_111438_, BlockElementFace p_111439_, TextureAtlasSprite p_111440_, Direction p_111441_, ModelState p_111442_) 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_) private 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_, boolean p_111629_) private void
FaceBakery.fillVertex
(int[] p_111615_, int p_111616_, org.joml.Vector3f p_254291_, TextureAtlasSprite p_111618_, BlockFaceUV p_111619_) private int[]
FaceBakery.makeVertices
(BlockFaceUV p_111574_, TextureAtlasSprite p_111575_, Direction p_111576_, float[] p_111577_, Transformation p_111578_, BlockElementRotation p_111579_, boolean p_111580_) Modifier and TypeMethodDescriptionBlockModel.bake
(ModelBaker p_252120_, Function<Material, TextureAtlasSprite> p_250023_, ModelState p_251130_) BlockModel.bake
(ModelBaker p_249720_, BlockModel p_111451_, Function<Material, TextureAtlasSprite> p_111452_, ModelState p_111453_, boolean p_111455_) MultiVariant.bake
(ModelBaker p_249016_, Function<Material, TextureAtlasSprite> p_111851_, ModelState p_111852_) private BakedModel
ItemOverrides.bakeModel
(ModelBaker p_249483_, UnbakedModel p_251965_, ItemOverride p_250816_, Function<Material, TextureAtlasSprite> spriteGetter) BlockModel.bakeVanilla
(ModelBaker p_249720_, BlockModel p_111451_, Function<Material, TextureAtlasSprite> p_111452_, ModelState p_111453_, boolean p_111455_) ItemModelGenerator.generateBlockModel
(Function<Material, TextureAtlasSprite> p_111671_, BlockModel p_111672_) BlockModel.getOverrides
(ModelBaker p_250138_, BlockModel p_251800_, Function<Material, TextureAtlasSprite> spriteGetter) ModifierConstructorDescriptionBakedQuad
(int[] p_111298_, int p_111299_, Direction p_111300_, TextureAtlasSprite p_111301_, boolean p_111302_) BakedQuad
(int[] p_111298_, int p_111299_, Direction p_111300_, TextureAtlasSprite p_111301_, boolean p_111302_, boolean hasAmbientOcclusion) ModifierConstructorDescriptionItemOverrides
(ModelBaker p_251211_, UnbakedModel p_111741_, List<ItemOverride> p_111743_, Function<Material, TextureAtlasSprite> spriteGetter) -
Uses of TextureAtlasSprite in net.minecraft.client.renderer.block.model.multipart
Modifier and TypeMethodDescriptionMultiPart.bake
(ModelBaker p_249988_, Function<Material, TextureAtlasSprite> p_111972_, ModelState p_111973_) -
Uses of TextureAtlasSprite in net.minecraft.client.renderer.entity
Modifier and TypeMethodDescriptionprivate void
PaintingRenderer.renderPainting
(PoseStack p_115559_, VertexConsumer p_115560_, Painting p_115561_, int p_115562_, int p_115563_, TextureAtlasSprite p_115564_, TextureAtlasSprite p_115565_) -
Uses of TextureAtlasSprite in net.minecraft.client.renderer.texture
Modifier and TypeFieldDescriptionprivate final TextureAtlasSprite
SpriteLoader.Preparations.missing
The field for themissing
record component.private TextureAtlasSprite
TextureAtlas.missingSprite
Modifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, TextureAtlasSprite> SpriteLoader.Preparations.regions
The field for theregions
record component.private Map
<ResourceLocation, TextureAtlasSprite> TextureAtlas.texturesByName
Modifier and TypeMethodDescriptionTextureAtlas.getSprite
(ResourceLocation p_118317_) SpriteLoader.Preparations.missing()
Returns the value of themissing
record component.Modifier 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.Modifier and TypeMethodDescriptionprivate static void
TextureAtlas.dumpSpriteNames
(Path p_261769_, String p_262102_, Map<ResourceLocation, TextureAtlasSprite> p_261722_) ModifierConstructorDescriptionPreparations
(int width, int height, int mipLevel, TextureAtlasSprite missing, Map<ResourceLocation, TextureAtlasSprite> regions, CompletableFuture<Void> readyForUpload) Creates an instance of aPreparations
record class.ModifierConstructorDescriptionPreparations
(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
Modifier 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
Modifier and TypeFieldDescriptionprotected final TextureAtlasSprite
MultiPartBakedModel.particleIcon
private TextureAtlasSprite
SimpleBakedModel.Builder.particleIcon
protected final TextureAtlasSprite
SimpleBakedModel.particleIcon
private final TextureAtlasSprite
BuiltInModel.particleTexture
Modifier and TypeFieldDescriptionprivate final Function
<Material, TextureAtlasSprite> ModelBakery.ModelBakerImpl.modelTextureGetter
Modifier and TypeMethodDescriptionModelBakery.TextureGetter.get
(ModelResourceLocation p_352455_, Material p_352128_) BakedModel.getParticleIcon()
Deprecated.BuiltInModel.getParticleIcon()
MultiPartBakedModel.getParticleIcon()
Deprecated.MultiPartBakedModel.getParticleIcon
(ModelData modelData) SimpleBakedModel.getParticleIcon()
WeightedBakedModel.getParticleIcon()
WeightedBakedModel.getParticleIcon
(ModelData modelData) AtlasSet.StitchResult.getSprite
(ResourceLocation p_249039_) AtlasSet.StitchResult.missing()
Material.sprite()
Modifier and TypeMethodDescriptionSimpleBakedModel.Builder.particle
(TextureAtlasSprite p_119529_) Modifier and TypeMethodDescriptionModelBakery.ModelBakerImpl.bake
(ResourceLocation p_252176_, ModelState p_249765_, Function<Material, TextureAtlasSprite> sprites) UnbakedModel.bake
(ModelBaker p_250133_, Function<Material, TextureAtlasSprite> p_119535_, ModelState p_119536_) ModelBakery.ModelBakerImpl.bakeUncached
(UnbakedModel p_352386_, ModelState p_352194_, Function<Material, TextureAtlasSprite> sprites) ModifierConstructorDescriptionBuiltInModel
(ItemTransforms p_119172_, ItemOverrides p_119173_, TextureAtlasSprite p_119174_, boolean p_119175_) SimpleBakedModel
(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_, ItemOverrides p_119496_) 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_, ItemOverrides p_119496_, RenderTypeGroup renderTypes) -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client
Modifier 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
Modifier and TypeFieldDescriptionprivate final Function
<Material, TextureAtlasSprite> ModelEvent.ModifyBakingResult.textureGetter
Modifier and TypeMethodDescriptionModelEvent.ModifyBakingResult.getTextureGetter()
Returns a lookup function to retrieveTextureAtlasSprite
s by name from any of the atlases handled by theModelManager
.ModifierConstructorDescriptionModifyBakingResult
(Map<ModelResourceLocation, BakedModel> models, Function<Material, TextureAtlasSprite> textureGetter, ModelBakery modelBakery) -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client.extensions
Modifier and TypeMethodDescriptiondefault TextureAtlasSprite
IBakedModelExtension.getParticleIcon
(ModelData data) Modifier and TypeMethodDescription@Nullable BakedModel
IModelBakerExtension.bake
(ResourceLocation location, ModelState state, Function<Material, TextureAtlasSprite> sprites) @Nullable BakedModel
IModelBakerExtension.bakeUncached
(UnbakedModel model, ModelState state, Function<Material, TextureAtlasSprite> sprites) -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client.model
Modifier and TypeFieldDescriptionprivate TextureAtlasSprite
CompositeModel.Baked.Builder.particle
private final TextureAtlasSprite
CompositeModel.Baked.particle
private final TextureAtlasSprite
SeparateTransformsModel.Baked.particle
Modifier and TypeMethodDescriptionBakedModelWrapper.getParticleIcon()
BakedModelWrapper.getParticleIcon
(ModelData data) CompositeModel.Baked.getParticleIcon()
EmptyModel.Baked.getParticleIcon()
SeparateTransformsModel.Baked.getParticleIcon()
Modifier and TypeMethodDescriptionstatic CompositeModel.Baked.Builder
CompositeModel.Baked.builder
(boolean isAmbientOcclusion, boolean isGui3d, boolean isSideLit, TextureAtlasSprite particle, ItemOverrides overrides, ItemTransforms cameraTransforms) static CompositeModel.Baked.Builder
CompositeModel.Baked.builder
(IGeometryBakingContext owner, TextureAtlasSprite particle, ItemOverrides overrides, ItemTransforms cameraTransforms) static IModelBuilder
<?> IModelBuilder.of
(boolean hasAmbientOcclusion, boolean usesBlockLight, boolean isGui3d, ItemTransforms transforms, ItemOverrides overrides, TextureAtlasSprite particle, RenderTypeGroup renderTypes) Creates a new model builder that uses the provided attributes in the final baked model.CompositeModel.Baked.Builder.setParticle
(TextureAtlasSprite particleSprite) Modifier and TypeMethodDescriptionprotected void
ElementsModel.addQuads
(IGeometryBakingContext context, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState) protected void
EmptyModel.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform) CompositeModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides) DynamicFluidContainerModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides) EmptyModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides) ItemLayerModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides) SeparateTransformsModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides) ModifierConstructorDescriptionBaked
(boolean isGui3d, boolean isSideLit, boolean isAmbientOcclusion, TextureAtlasSprite particle, ItemTransforms transforms, ItemOverrides overrides, com.google.common.collect.ImmutableMap<String, BakedModel> children, com.google.common.collect.ImmutableList<BakedModel> itemPasses) Baked
(boolean isAmbientOcclusion, boolean isGui3d, boolean isSideLit, TextureAtlasSprite particle, ItemOverrides overrides, BakedModel baseModel, com.google.common.collect.ImmutableMap<ItemDisplayContext, BakedModel> perspectives) private
Builder
(boolean isAmbientOcclusion, boolean isGui3d, boolean isSideLit, TextureAtlasSprite particle, ItemOverrides overrides, ItemTransforms transforms) private
Simple
(boolean hasAmbientOcclusion, boolean usesBlockLight, boolean isGui3d, ItemTransforms transforms, ItemOverrides overrides, TextureAtlasSprite particle, RenderTypeGroup renderTypes) -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client.model.geometry
Modifier and TypeMethodDescriptionstatic BakedQuad
UnbakedGeometryHelper.bakeElementFace
(BlockElement element, BlockElementFace face, TextureAtlasSprite sprite, Direction direction, ModelState state) Turns a singleBlockElementFace
into aBakedQuad
.static List
<BlockElement> UnbakedGeometryHelper.createUnbakedItemElements
(int layerIndex, TextureAtlasSprite sprite) static List
<BlockElement> UnbakedGeometryHelper.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> UnbakedGeometryHelper.createUnbakedItemMaskElements
(int layerIndex, TextureAtlasSprite sprite) static List
<BlockElement> UnbakedGeometryHelper.createUnbakedItemMaskElements
(int layerIndex, TextureAtlasSprite sprite, @Nullable ExtraFaceData faceData) Creates a list of block elements in the shape of the specified sprite contents.Modifier and TypeMethodDescriptionprotected abstract void
SimpleUnbakedGeometry.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform) BlockGeometryBakingContext.bake
(ModelBaker baker, Function<Material, TextureAtlasSprite> bakedTextureGetter, ModelState modelTransform, ItemOverrides overrides) IUnbakedGeometry.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides) SimpleUnbakedGeometry.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides) static BakedModel
UnbakedGeometryHelper.bake
(BlockModel blockModel, ModelBaker modelBaker, BlockModel owner, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, boolean guiLight3d) Helper for bakingBlockModel
instances.UnbakedGeometryHelper.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
UnbakedGeometryHelper.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. -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client.model.obj
Modifier and TypeMethodDescriptionObjModel.makeQuad
(int[][] indices, int tintIndex, org.joml.Vector4f colorTint, org.joml.Vector4f ambientColor, TextureAtlasSprite texture, Transformation transform) Modifier and TypeMethodDescriptionprotected void
ObjModel.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform) void
ObjModel.ModelGroup.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform) void
ObjModel.ModelMesh.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform) void
ObjModel.ModelObject.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform) -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client.model.pipeline
Modifier and TypeMethodDescriptionvoid
QuadBakingVertexConsumer.setSprite
(TextureAtlasSprite sprite) -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client.textures
Modifier and TypeClassDescriptionclass
A helper sprite with UVs spanning the entire texture.Modifier and TypeFieldDescriptionprivate static TextureAtlasSprite
FluidSpriteCache.missingSprite
Modifier and TypeFieldDescriptionprivate static Map
<ResourceLocation, TextureAtlasSprite> FluidSpriteCache.textureLookup
Modifier 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.block
Modifier and TypeMethodDescriptionFullPotsAccessorDemo.ClientHandler.DioritePotModelGeometry.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides) -
Uses of TextureAtlasSprite in net.neoforged.neoforge.oldtest.client.model
Modifier and TypeMethodDescriptionprotected void
NewModelLoaderTest.TestModel.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform)
IBakedModelExtension.getParticleIcon(net.neoforged.neoforge.client.model.data.ModelData)