Uses of Class
net.minecraft.client.texture.Sprite
Packages that use Sprite
Package
Description
-
Uses of Sprite in net.minecraft.client
Methods in net.minecraft.client that return types with arguments of type Sprite -
Uses of Sprite in net.minecraft.client.gui
Methods in net.minecraft.client.gui with parameters of type SpriteModifier and TypeMethodDescriptionprivate void
DrawContext.drawInnerSprite
(Function<Identifier, RenderLayer> renderLayers, Scaling.NineSlice nineSlice, Sprite sprite, int x, int y, int width, int height, int u, int v, int tileWidth, int tileHeight, int textureWidth, int textureHeight, int color) private void
DrawContext.drawSpriteNineSliced
(Function<Identifier, RenderLayer> renderLayers, Sprite sprite, Scaling.NineSlice nineSlice, int x, int y, int width, int height, int color) private void
DrawContext.drawSpriteRegion
(Function<Identifier, RenderLayer> renderLayers, Sprite sprite, int textureWidth, int textureHeight, int u, int v, int x, int y, int width, int height, int color) void
DrawContext.drawSpriteStretched
(Function<Identifier, RenderLayer> renderLayers, Sprite sprite, int x, int y, int width, int height) void
DrawContext.drawSpriteStretched
(Function<Identifier, RenderLayer> renderLayers, Sprite sprite, int x, int y, int width, int height, int color) private void
DrawContext.drawSpriteTiled
(Function<Identifier, RenderLayer> renderLayers, Sprite sprite, int x, int y, int width, int height, int u, int v, int tileWidth, int tileHeight, int textureWidth, int textureHeight, int color) -
Uses of Sprite in net.minecraft.client.gui.hud
Methods in net.minecraft.client.gui.hud with parameters of type SpriteModifier and TypeMethodDescriptionprivate static void
InGameOverlayRenderer.renderInWallOverlay
(Sprite sprite, MatrixStack matrices, VertexConsumerProvider vertexConsumers) -
Uses of Sprite in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen declared as SpriteMethods in net.minecraft.client.gui.screen that return Sprite -
Uses of Sprite in net.minecraft.client.gui.screen.ingame
Fields in net.minecraft.client.gui.screen.ingame declared as Sprite -
Uses of Sprite in net.minecraft.client.particle
Fields in net.minecraft.client.particle declared as SpriteFields in net.minecraft.client.particle with type parameters of type SpriteMethods in net.minecraft.client.particle that return SpriteModifier and TypeMethodDescriptionParticleManager.SimpleSpriteProvider.getSprite
(int age, int maxAge) SpriteProvider.getSprite
(int age, int maxAge) Methods in net.minecraft.client.particle with parameters of type SpriteMethod parameters in net.minecraft.client.particle with type arguments of type SpriteModifier and TypeMethodDescriptionvoid
ParticleManager.SimpleSpriteProvider.setSprites
(List<Sprite> sprites) -
Uses of Sprite in net.minecraft.client.render
Fields in net.minecraft.client.render declared as SpriteModifier and TypeFieldDescriptionMapRenderState.Decoration.sprite
private final Sprite
SpriteTexturedVertexConsumer.sprite
Constructors in net.minecraft.client.render with parameters of type SpriteModifierConstructorDescriptionSpriteTexturedVertexConsumer
(VertexConsumer delegate, Sprite sprite) -
Uses of Sprite in net.minecraft.client.render.block
Fields in net.minecraft.client.render.block declared as SpriteModifier and TypeFieldDescriptionprivate final Sprite[]
FluidRenderer.lavaSprites
private Sprite
FluidRenderer.waterOverlaySprite
private final Sprite[]
FluidRenderer.waterSprites
Methods in net.minecraft.client.render.block that return Sprite -
Uses of Sprite in net.minecraft.client.render.entity
Methods in net.minecraft.client.render.entity with parameters of type SpriteModifier and TypeMethodDescriptionprivate void
PaintingEntityRenderer.renderPainting
(MatrixStack matrices, VertexConsumer vertexConsumer, int[] lightmapCoordinates, int width, int height, Sprite paintingSprite, Sprite backSprite) -
Uses of Sprite in net.minecraft.client.render.entity.equipment
Fields in net.minecraft.client.render.entity.equipment with type parameters of type SpriteModifier and TypeFieldDescriptionprivate final Function
<EquipmentRenderer.TrimSpriteKey, Sprite> EquipmentRenderer.trimSprites
-
Uses of Sprite in net.minecraft.client.render.item
Fields in net.minecraft.client.render.item declared as SpriteMethods in net.minecraft.client.render.item that return SpriteMethods in net.minecraft.client.render.item with parameters of type SpriteModifier and TypeMethodDescriptionvoid
ItemRenderState.LayerRenderState.setParticle
(Sprite particle) -
Uses of Sprite in net.minecraft.client.render.model
Fields in net.minecraft.client.render.model declared as SpriteModifier and TypeFieldDescriptionprivate final Sprite
ModelSettings.particleIcon
The field for theparticleIcon
record component.private final Sprite
GeometryBakedModel.particleSprite
The field for theparticleSprite
record component.(package private) final Sprite
MultipartBlockStateModel.MultipartBakedModel.particleSprite
private final Sprite
WeightedBlockStateModel.particleSprite
private final Sprite
BakedQuad.sprite
The field for thesprite
record component.Fields in net.minecraft.client.render.model with type parameters of type SpriteModifier and TypeFieldDescriptionprivate static final ReferencedModelsCollector.Property
<Sprite> ReferencedModelsCollector.Holder.PARTICLE_TEXTURE_PROPERTY
Methods in net.minecraft.client.render.model that return SpriteModifier and TypeMethodDescriptiondefault Sprite
ErrorCollectingSpriteGetter.get
(ModelTextures texture, String name, SimpleModel model) ErrorCollectingSpriteGetter.get
(SpriteIdentifier id, SimpleModel model) ErrorCollectingSpriteGetter.getMissing
(String name, SimpleModel model) SpriteAtlasManager.AtlasPreparation.getMissingSprite()
default Sprite
BakedSimpleModel.getParticleTexture
(ModelTextures textures, Baker baker) static Sprite
BakedSimpleModel.getParticleTexture
(ModelTextures textures, Baker baker, SimpleModel model) ReferencedModelsCollector.Holder.getParticleTexture
(ModelTextures textures, Baker baker) SpriteAtlasManager.AtlasPreparation.getSprite
(Identifier id) ModelSettings.particleIcon()
Returns the value of theparticleIcon
record component.BlockModelPart.particleSprite()
BlockStateModel.particleSprite()
Returns a texture that represents the model.GeometryBakedModel.particleSprite()
Returns the value of theparticleSprite
record component.MultipartBlockStateModel.particleSprite()
Returns a texture that represents the model.SimpleBlockStateModel.particleSprite()
Returns a texture that represents the model.WeightedBlockStateModel.particleSprite()
Returns a texture that represents the model.BakedQuad.sprite()
Returns the value of thesprite
record component.Methods in net.minecraft.client.render.model with parameters of type SpriteModifier and TypeMethodDescriptionstatic BakedQuad
BakedQuadFactory.bake
(Vector3fc from, Vector3fc to, ModelElementFace facing, Sprite sprite, Direction direction, ModelBakeSettings settings, @Nullable ModelRotation rotation, boolean shade, int lightEmission) private static BakedQuad
UnbakedGeometry.bakeQuad
(ModelElement element, ModelElementFace face, Sprite sprite, Direction facing, ModelBakeSettings settings) private static ModelElementFace.UV
BakedQuadFactory.compactUV
(Sprite sprite, ModelElementFace.UV uv) private static void
BakedQuadFactory.packVertexData
(int[] vertices, int cornerIndex, CubeFace cubeFace, ModelElementFace.UV texture, AxisRotation axisRotation, Matrix4fc matrix4fc, float[] float2, Sprite sprite, AffineTransformation affineTransformation, @Nullable ModelRotation modelRotation) private static void
BakedQuadFactory.packVertexData
(int[] vertices, int cornerIndex, Vector3f pos, Sprite sprite, float float2, float float3) private static int[]
BakedQuadFactory.packVertexData
(ModelElementFace.UV texture, AxisRotation rotation, Matrix4fc matrix4fc, Sprite sprite, Direction facing, float[] float2, AffineTransformation transform, @Nullable ModelRotation modelRotation) Constructors in net.minecraft.client.render.model with parameters of type SpriteModifierConstructorDescriptionBakedQuad
(int[] vertexData, int tintIndex, Direction face, Sprite sprite, boolean shade, int lightEmission) Creates an instance of aBakedQuad
record class.GeometryBakedModel
(BakedGeometry bakedGeometry, boolean bool, Sprite sprite) ModelSettings
(boolean bool, Sprite sprite, ModelTransformation modelTransformation) -
Uses of Sprite in net.minecraft.client.texture
Fields in net.minecraft.client.texture declared as SpriteModifier and TypeFieldDescriptionprivate final Sprite
SpriteLoader.StitchResult.missing
The field for themissing
record component.SpriteAtlasTexture.missingSprite
Fields in net.minecraft.client.texture with type parameters of type SpriteModifier and TypeFieldDescriptionprivate final Map
<Identifier, Sprite> SpriteLoader.StitchResult.regions
The field for theregions
record component.private Map
<Identifier, Sprite> SpriteAtlasTexture.sprites
Methods in net.minecraft.client.texture that return SpriteModifier and TypeMethodDescriptionPaintingManager.getBackSprite()
PaintingManager.getPaintingSprite
(PaintingVariant variant) GuiAtlasManager.getSprite
(Identifier objectId) MapDecorationsAtlasManager.getSprite
(MapDecoration decoration) protected Sprite
SpriteAtlasHolder.getSprite
(Identifier objectId) SpriteAtlasTexture.getSprite
(Identifier id) StatusEffectSpriteManager.getSprite
(RegistryEntry<StatusEffect> effect) SpriteLoader.StitchResult.missing()
Returns the value of themissing
record component.Methods in net.minecraft.client.texture that return types with arguments of type SpriteModifier and TypeMethodDescriptionprivate Map
<Identifier, Sprite> SpriteLoader.collectStitchedSprites
(TextureStitcher<SpriteContents> stitcher, int atlasWidth, int atlasHeight) SpriteLoader.StitchResult.regions()
Returns the value of theregions
record component.Methods in net.minecraft.client.texture with parameters of type SpriteModifier and TypeMethodDescriptionprivate GuiResourceMetadata
GuiAtlasManager.getGuiMetadata
(Sprite sprite) GuiAtlasManager.getScaling
(Sprite sprite) Method parameters in net.minecraft.client.texture with type arguments of type SpriteModifier and TypeMethodDescriptionprivate static void
SpriteAtlasTexture.dumpAtlasInfos
(Path path, String id, Map<Identifier, Sprite> sprites) Constructors in net.minecraft.client.texture with parameters of type SpriteModifierConstructorDescriptionStitchResult
(int int2, int int3, int int4, Sprite sprite, Map<Identifier, Sprite> map, CompletableFuture<Void> completableFuture) Constructor parameters in net.minecraft.client.texture with type arguments of type SpriteModifierConstructorDescriptionStitchResult
(int int2, int int3, int int4, Sprite sprite, Map<Identifier, Sprite> map, CompletableFuture<Void> completableFuture) -
Uses of Sprite in net.minecraft.client.util
Methods in net.minecraft.client.util that return Sprite