Uses of Class
net.minecraft.client.renderer.texture.TextureAtlasSprite
Package
Description
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.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_, ResourceLocation p_111443_) 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_, ResourceLocation p_111609_) 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_, ResourceLocation p_252208_) Deprecated.BlockModel.bake
(ModelBaker p_249720_, BlockModel p_111451_, Function<Material, TextureAtlasSprite> p_111452_, ModelState p_111453_, ResourceLocation p_111454_, boolean p_111455_) MultiVariant.bake
(ModelBaker p_249016_, Function<Material, TextureAtlasSprite> p_111851_, ModelState p_111852_, ResourceLocation p_111853_) 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_, ResourceLocation p_111454_, 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_, ResourceLocation p_111974_) -
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 TypeMethodDescriptionPaintingTextureManager.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 TypeMethodDescriptionBakedModel.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_, ResourceLocation p_119537_) void
ModelBakery.bakeModels
(BiFunction<ResourceLocation, Material, TextureAtlasSprite> p_248669_) 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) ModifierConstructorDescription(package private)
ModelBakerImpl
(BiFunction<ResourceLocation, Material, TextureAtlasSprite> p_249651_, ResourceLocation p_251408_) -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client.extensions
Modifier and TypeMethodDescriptiondefault TextureAtlasSprite
IBakedModelExtension.getParticleIcon
(@NotNull ModelData data) Modifier and TypeMethodDescription@Nullable BakedModel
IModelBakerExtension.bake
(ResourceLocation location, 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
(@NotNull 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, ResourceLocation modelLocation) protected void
EmptyModel.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) CompositeModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) DynamicFluidContainerModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) EmptyModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) ItemLayerModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) SeparateTransformsModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) 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, ResourceLocation modelLocation) Turns a singleBlockElementFace
into aBakedQuad
.Modifier and TypeMethodDescriptionprotected abstract void
SimpleUnbakedGeometry.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) BlockGeometryBakingContext.bake
(ModelBaker baker, Function<Material, TextureAtlasSprite> bakedTextureGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation) IUnbakedGeometry.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) SimpleUnbakedGeometry.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) static BakedModel
UnbakedGeometryHelper.bake
(BlockModel blockModel, ModelBaker modelBaker, BlockModel owner, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ResourceLocation modelLocation, boolean guiLight3d) Helper for bakingBlockModel
instances.UnbakedGeometryHelper.bakeElements
(List<BlockElement> elements, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ResourceLocation modelLocation) 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, ResourceLocation modelLocation) 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, ResourceLocation modelLocation) void
ObjModel.ModelGroup.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) 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, ResourceLocation modelLocation) -
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. -
Uses of TextureAtlasSprite in net.neoforged.neoforge.debug.block
Modifier and TypeMethodDescriptionFullPotsAccessorDemo.ClientHandler.DioritePotModelGeometry.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) -
Uses of TextureAtlasSprite in net.neoforged.neoforge.debug.client.model
Modifier and TypeMethodDescriptionprotected void
NewModelLoaderTest.TestModel.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)
IBakedModelExtension.getParticleIcon(net.neoforged.neoforge.client.model.data.ModelData)