Uses of Class
net.minecraft.client.texture.Sprite
Package
Description
-
Uses of Sprite in net.minecraft.client
-
Uses of Sprite in net.minecraft.client.gui
Modifier 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
Modifier and TypeMethodDescriptionprivate static void
InGameOverlayRenderer.renderInWallOverlay
(Sprite sprite, MatrixStack matrices) -
Uses of Sprite in net.minecraft.client.gui.screen
-
Uses of Sprite in net.minecraft.client.gui.screen.ingame
-
Uses of Sprite in net.minecraft.client.particle
Modifier and TypeMethodDescriptionParticleManager.SimpleSpriteProvider.getSprite
(int age, int maxAge) SpriteProvider.getSprite
(int age, int maxAge) Modifier and TypeMethodDescriptionvoid
ParticleManager.SimpleSpriteProvider.setSprites
(List<Sprite> sprites) -
Uses of Sprite in net.minecraft.client.render
Modifier and TypeFieldDescriptionMapRenderState.Decoration.sprite
private final Sprite
SpriteTexturedVertexConsumer.sprite
ModifierConstructorDescriptionSpriteTexturedVertexConsumer
(VertexConsumer delegate, Sprite sprite) -
Uses of Sprite in net.minecraft.client.render.block
Modifier and TypeFieldDescriptionprivate final Sprite[]
FluidRenderer.lavaSprites
private Sprite
FluidRenderer.waterOverlaySprite
private final Sprite[]
FluidRenderer.waterSprites
-
Uses of Sprite in net.minecraft.client.render.entity
Modifier 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
Modifier and TypeFieldDescriptionprivate final Function
<EquipmentRenderer.TrimSpriteKey, Sprite> EquipmentRenderer.trimSprites
-
Uses of Sprite in net.minecraft.client.render.model
Modifier and TypeFieldDescriptionBasicBakedModel.Builder.particleTexture
protected final Sprite
BakedQuad.sprite
protected final Sprite
BasicBakedModel.sprite
private final Sprite
BuiltinBakedModel.sprite
Modifier and TypeFieldDescriptionprivate final Function
<SpriteIdentifier, Sprite> ModelBaker.BakerImpl.textureGetter
Modifier and TypeMethodDescriptionModelBaker.SpriteGetter.get
(ModelIdentifier modelId, SpriteIdentifier spriteId) SpriteAtlasManager.AtlasPreparation.getMissingSprite()
BakedModel.getParticleSprite()
Returns a texture that represents the model.BasicBakedModel.getParticleSprite()
Returns a texture that represents the model.BuiltinBakedModel.getParticleSprite()
Returns a texture that represents the model.WrapperBakedModel.getParticleSprite()
Returns a texture that represents the model.BakedQuad.getSprite()
SpriteAtlasManager.AtlasPreparation.getSprite
(Identifier id) Modifier and TypeMethodDescriptionBakedQuadFactory.bake
(Vector3f from, Vector3f to, ModelElementFace face, Sprite texture, Direction side, ModelBakeSettings settings, @Nullable ModelRotation rotation, boolean shade, int lightEmission) private void
BakedQuadFactory.packVertexData
(int[] vertices, int cornerIndex, Direction direction, ModelElementTexture texture, float[] positionMatrix, Sprite sprite, AffineTransformation orientation, @Nullable ModelRotation rotation) private void
BakedQuadFactory.packVertexData
(int[] vertices, int cornerIndex, Vector3f position, Sprite sprite, ModelElementTexture modelElementTexture) private int[]
BakedQuadFactory.packVertexData
(ModelElementTexture texture, Sprite sprite, Direction direction, float[] positionMatrix, AffineTransformation orientation, @Nullable ModelRotation rotation) BasicBakedModel.Builder.setParticle
(Sprite sprite) Modifier and TypeMethodDescriptionItemModel.bake
(Baker baker, Function<SpriteIdentifier, Sprite> textureGetter, ModelBakeSettings rotationContainer) MultipartUnbakedModel.bake
(Baker baker, Function<SpriteIdentifier, Sprite> textureGetter, ModelBakeSettings rotationContainer) UnbakedModel.bake
(Baker baker, Function<SpriteIdentifier, Sprite> textureGetter, ModelBakeSettings rotationContainer) ModifierConstructorDescriptionBakedQuad
(int[] vertexData, int colorIndex, Direction face, Sprite sprite, boolean shade, int lightEmission) BasicBakedModel
(List<BakedQuad> quads, Map<Direction, List<BakedQuad>> faceQuads, boolean usesAo, boolean isSideLit, boolean hasDepth, Sprite sprite, ModelTransformation transformation) BuiltinBakedModel
(ModelTransformation transformation, Sprite sprite, boolean sideLit) -
Uses of Sprite in net.minecraft.client.render.model.json
Modifier and TypeMethodDescriptionprivate static BakedQuad
JsonUnbakedModel.createQuad
(ModelElement element, ModelElementFace elementFace, Sprite sprite, Direction side, ModelBakeSettings settings) Modifier and TypeMethodDescriptionJsonUnbakedModel.bake
(Function<SpriteIdentifier, Sprite> function, ModelBakeSettings modelBakeSettings, boolean bool) JsonUnbakedModel.bake
(Baker baker, Function<SpriteIdentifier, Sprite> textureGetter, ModelBakeSettings rotationContainer) WeightedUnbakedModel.bake
(Baker baker, Function<SpriteIdentifier, Sprite> textureGetter, ModelBakeSettings rotationContainer) ItemModelGenerator.create
(Function<SpriteIdentifier, Sprite> textureGetter, JsonUnbakedModel blockModel) -
Uses of Sprite in net.minecraft.client.texture
Modifier and TypeFieldDescriptionprivate final Sprite
SpriteLoader.StitchResult.missing
The field for themissing
record component.SpriteAtlasTexture.missingSprite
Modifier and TypeFieldDescriptionprivate final Map
<Identifier, Sprite> SpriteLoader.StitchResult.regions
The field for theregions
record component.private Map
<Identifier, Sprite> SpriteAtlasTexture.sprites
Modifier 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.Modifier and TypeMethodDescriptionprivate Map
<Identifier, Sprite> SpriteLoader.collectStitchedSprites
(TextureStitcher<SpriteContents> stitcher, int atlasWidth, int atlasHeight) SpriteLoader.StitchResult.regions()
Returns the value of theregions
record component.Modifier and TypeMethodDescriptionprivate GuiResourceMetadata
GuiAtlasManager.getGuiMetadata
(Sprite sprite) GuiAtlasManager.getScaling
(Sprite sprite) Modifier and TypeMethodDescriptionprivate static void
SpriteAtlasTexture.dumpAtlasInfos
(Path path, String id, Map<Identifier, Sprite> sprites) ModifierConstructorDescriptionStitchResult
(int int2, int int3, int int4, Sprite sprite, Map<Identifier, Sprite> map, CompletableFuture<Void> completableFuture) ModifierConstructorDescriptionStitchResult
(int int2, int int3, int int4, Sprite sprite, Map<Identifier, Sprite> map, CompletableFuture<Void> completableFuture) -
Uses of Sprite in net.minecraft.client.util