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 TypeMethodDescriptionstatic void
GuiComponent.blit
(PoseStack p_93201_, int p_93202_, int p_93203_, int p_93204_, int p_93205_, int p_93206_, TextureAtlasSprite p_93207_) -
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
(Vector3f p_111601_, Vector3f p_111602_, 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
ItemModelGenerator.checkTransition
(ItemModelGenerator.SpanFacing p_111643_, List<ItemModelGenerator.Span> p_111644_, TextureAtlasSprite p_111645_, int p_111646_, int p_111647_, int p_111648_, int p_111649_, int p_111650_, boolean p_111651_) private List<BlockElement>
ItemModelGenerator.createSideElements
(TextureAtlasSprite p_111662_, String p_111663_, int p_111664_) private void
FaceBakery.fillVertex
(int[] p_111615_, int p_111616_, Vector3f p_111617_, TextureAtlasSprite p_111618_, BlockFaceUV p_111619_) private List<ItemModelGenerator.Span>
ItemModelGenerator.getSpans
(TextureAtlasSprite p_111653_) private boolean
ItemModelGenerator.isTransparent
(TextureAtlasSprite p_111655_, int p_111656_, int p_111657_, int p_111658_, int p_111659_, int p_111660_) 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_) ItemModelGenerator.processFrames
(int p_111639_, String p_111640_, TextureAtlasSprite p_111641_) Modifier and TypeMethodDescriptionBlockModel.bake
(ModelBakery p_111457_, Function<Material, TextureAtlasSprite> p_111458_, ModelState p_111459_, ResourceLocation p_111460_) Deprecated.BlockModel.bake
(ModelBakery p_111450_, BlockModel p_111451_, Function<Material, TextureAtlasSprite> p_111452_, ModelState p_111453_, ResourceLocation p_111454_, boolean p_111455_) MultiVariant.bake
(ModelBakery p_111850_, Function<Material, TextureAtlasSprite> p_111851_, ModelState p_111852_, ResourceLocation p_111853_) BlockModel.bakeVanilla
(ModelBakery p_111450_, BlockModel p_111451_, Function<Material, TextureAtlasSprite> p_111452_, ModelState p_111453_, ResourceLocation p_111454_, boolean p_111455_, RenderTypeGroup renderTypes) Deprecated, for removal: This API element is subject to removal in a future version.ItemModelGenerator.generateBlockModel
(Function<Material, TextureAtlasSprite> p_111671_, BlockModel p_111672_) BlockModel.getOverrides
(ModelBakery p_111447_, BlockModel p_111448_, Function<Material, TextureAtlasSprite> textureGetter) 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) -
Uses of TextureAtlasSprite in net.minecraft.client.renderer.block.model.multipart
Modifier and TypeMethodDescriptionMultiPart.bake
(ModelBakery p_111971_, 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 TypeFieldDescription(package private) final List<TextureAtlasSprite>
TextureAtlas.Preparations.regions
private final Map<ResourceLocation,
TextureAtlasSprite> TextureAtlas.texturesByName
Modifier and TypeMethodDescriptionTextureAtlas.getSprite
(ResourceLocation p_118317_) private TextureAtlasSprite
TextureAtlas.load
(ResourceManager p_118288_, TextureAtlasSprite.Info p_118289_, int p_118290_, int p_118291_, int p_118292_, int p_118293_, int p_118294_) Modifier and TypeMethodDescriptionprivate List<TextureAtlasSprite>
TextureAtlas.getLoadedSprites
(ResourceManager p_118284_, Stitcher p_118285_, int p_118286_) ModifierConstructorDescriptionPreparations
(Set<ResourceLocation> p_118337_, int p_118338_, int p_118339_, int p_118340_, List<TextureAtlasSprite> p_118341_) -
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 TypeMethodDescriptionBakedModel.getParticleIcon()
Deprecated.BuiltInModel.getParticleIcon()
MultiPartBakedModel.getParticleIcon()
Deprecated.MultiPartBakedModel.getParticleIcon
(ModelData modelData) SimpleBakedModel.getParticleIcon()
WeightedBakedModel.getParticleIcon()
WeightedBakedModel.getParticleIcon
(ModelData modelData) Material.sprite()
Modifier and TypeMethodDescriptionSimpleBakedModel.Builder.particle
(TextureAtlasSprite p_119529_) Modifier and TypeMethodDescriptionModelBakery.bake
(ResourceLocation p_119350_, ModelState p_119351_, Function<Material, TextureAtlasSprite> sprites) UnbakedModel.bake
(ModelBakery p_119534_, Function<Material, TextureAtlasSprite> p_119535_, ModelState p_119536_, ResourceLocation p_119537_) 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.minecraftforge.client
Modifier and TypeMethodDescriptionstatic TextureAtlasSprite[]
ForgeHooksClient.getFluidSprites
(BlockAndTintGetter level, BlockPos pos, FluidState fluidStateIn) static @Nullable TextureAtlasSprite
ForgeHooksClient.loadTextureAtlasSprite
(TextureAtlas textureAtlas, ResourceManager resourceManager, TextureAtlasSprite.Info textureInfo, Resource resource, int atlasWidth, int atlasHeight, int spriteX, int spriteY, int mipmapLevel, NativeImage image) -
Uses of TextureAtlasSprite in net.minecraftforge.client.extensions
Modifier and TypeMethodDescriptiondefault TextureAtlasSprite
IForgeBakedModel.getParticleIcon
(@NotNull ModelData data) -
Uses of TextureAtlasSprite in net.minecraftforge.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, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ResourceLocation modelLocation) protected void
EmptyModel.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) CompositeModel.bake
(IGeometryBakingContext context, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) DynamicFluidContainerModel.bake
(IGeometryBakingContext context, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) EmptyModel.bake
(IGeometryBakingContext context, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) ItemLayerModel.bake
(IGeometryBakingContext context, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) SeparateTransformsModel.bake
(IGeometryBakingContext context, ModelBakery bakery, 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<ItemTransforms.TransformType, 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.minecraftforge.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
.static List<BlockElement>
UnbakedGeometryHelper.createUnbakedItemElements
(int layerIndex, TextureAtlasSprite sprite) Creates a list of block elements in the shape of the specified sprite.static List<BlockElement>
UnbakedGeometryHelper.createUnbakedItemMaskElements
(int layerIndex, TextureAtlasSprite sprite) Creates a list of block elements in the shape of the specified sprite.Modifier and TypeMethodDescriptionprotected abstract void
SimpleUnbakedGeometry.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) BlockGeometryBakingContext.bake
(ModelBakery bakery, Function<Material, TextureAtlasSprite> bakedTextureGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation) IUnbakedGeometry.bake
(IGeometryBakingContext context, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) SimpleUnbakedGeometry.bake
(IGeometryBakingContext context, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) static BakedModel
UnbakedGeometryHelper.bake
(BlockModel blockModel, ModelBakery modelBakery, 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.static BakedModel
UnbakedGeometryHelper.bakeVanilla
(BlockModel blockModel, ModelBakery modelBakery, BlockModel owner, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ResourceLocation modelLocation) Deprecated, for removal: This API element is subject to removal in a future version.Merge into the method above in 1.20 once the call fromBlockModel
is gone. -
Uses of TextureAtlasSprite in net.minecraftforge.client.model.obj
Modifier and TypeMethodDescriptionObjModel.makeQuad
(int[][] indices, int tintIndex, Vector4f colorTint, Vector4f ambientColor, TextureAtlasSprite texture, Transformation transform) Modifier and TypeMethodDescriptionprotected void
ObjModel.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) void
ObjModel.ModelGroup.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, 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, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) -
Uses of TextureAtlasSprite in net.minecraftforge.client.model.pipeline
Modifier and TypeMethodDescriptionvoid
QuadBakingVertexConsumer.setSprite
(TextureAtlasSprite sprite) -
Uses of TextureAtlasSprite in net.minecraftforge.client.textures
Modifier and TypeClassDescriptionclass
A helper sprite with UVs spanning the entire texture.Modifier and TypeMethodDescription@NotNull TextureAtlasSprite
ITextureAtlasSpriteLoader.load
(TextureAtlas atlas, ResourceManager resourceManager, TextureAtlasSprite.Info textureInfo, Resource resource, int atlasWidth, int atlasHeight, int spriteX, int spriteY, int mipmapLevel, NativeImage image) Load aTextureAtlasSprite
for the given resource. -
Uses of TextureAtlasSprite in net.minecraftforge.debug.block
Modifier and TypeMethodDescriptionFullPotsAccessorDemo.ClientHandler.DioritePotModelGeometry.bake
(IGeometryBakingContext context, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) -
Uses of TextureAtlasSprite in net.minecraftforge.debug.client
Modifier and TypeMethodDescription@NotNull TextureAtlasSprite
CustomTASTest.TasLoader.load
(TextureAtlas atlas, ResourceManager resourceManager, TextureAtlasSprite.Info textureInfo, Resource resource, int atlasWidth, int atlasHeight, int spriteX, int spriteY, int mipmapLevel, NativeImage image) -
Uses of TextureAtlasSprite in net.minecraftforge.debug.client.model
Modifier and TypeMethodDescriptionprotected void
NewModelLoaderTest.TestModel.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)
IForgeBakedModel.getParticleIcon(net.minecraftforge.client.model.data.ModelData)