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 TypeMethodDescriptionvoid
DrawContext.drawSprite
(int x, int y, int z, int width, int height, Sprite sprite) void
DrawContext.drawSprite
(int x, int y, int z, int width, int height, Sprite sprite, float red, float green, float blue, float alpha) private void
DrawContext.drawSprite
(Sprite sprite, int x, int y, int z, int width, int height) private void
DrawContext.drawSprite
(Sprite sprite, int int2, int int3, int int4, int int5, int x, int y, int z, int width, int height) private void
DrawContext.drawSprite
(Sprite sprite, Scaling.NineSlice nineSlice, int x, int y, int z, int width, int height) private void
DrawContext.drawSpriteTiled
(Sprite sprite, int x, int y, int z, int width, int height, int int2, int int3, int tileWidth, int tileHeight, int int4, int int5) -
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
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, PaintingEntity entity, int width, int height, Sprite paintingSprite, Sprite backSprite) -
Uses of Sprite in net.minecraft.client.render.model
Modifier and TypeFieldDescriptionprivate Sprite
BasicBakedModel.Builder.particleTexture
protected final Sprite
BakedQuad.sprite
protected final Sprite
BasicBakedModel.sprite
private final Sprite
BuiltinBakedModel.sprite
protected final Sprite
MultipartBakedModel.sprite
Modifier and TypeFieldDescriptionprivate final Function
<SpriteIdentifier, Sprite> ModelLoader.BakerImpl.textureGetter
Modifier and TypeMethodDescriptionSpriteAtlasManager.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.MultipartBakedModel.getParticleSprite()
Returns a texture that represents the model.WeightedBakedModel.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, Identifier modelId) private void
BakedQuadFactory.packVertexData
(int[] vertices, int cornerIndex, Direction direction, ModelElementTexture texture, float[] positionMatrix, Sprite sprite, AffineTransformation orientation, @Nullable ModelRotation rotation, boolean shaded) 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, boolean shaded) BasicBakedModel.Builder.setParticle
(Sprite sprite) Modifier and TypeMethodDescriptionvoid
ModelLoader.bake
(BiFunction<Identifier, SpriteIdentifier, Sprite> spriteLoader) MultipartUnbakedModel.bake
(Baker baker, Function<SpriteIdentifier, Sprite> textureGetter, ModelBakeSettings rotationContainer, Identifier modelId) UnbakedModel.bake
(Baker baker, Function<SpriteIdentifier, Sprite> textureGetter, ModelBakeSettings rotationContainer, Identifier modelId) ModifierConstructorDescriptionBasicBakedModel
(List<BakedQuad> quads, Map<Direction, List<BakedQuad>> faceQuads, boolean usesAo, boolean isSideLit, boolean hasDepth, Sprite sprite, ModelTransformation transformation, ModelOverrideList itemPropertyOverrides) BuiltinBakedModel
(ModelTransformation transformation, ModelOverrideList itemPropertyOverrides, Sprite sprite, boolean sideLit) ModifierConstructorDescription(package private)
BakerImpl
(BiFunction<Identifier, SpriteIdentifier, Sprite> spriteLoader, Identifier modelId) -
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, Identifier id) Modifier and TypeMethodDescriptionJsonUnbakedModel.bake
(Baker baker, Function<SpriteIdentifier, Sprite> textureGetter, ModelBakeSettings rotationContainer, Identifier modelId) JsonUnbakedModel.bake
(Baker baker, JsonUnbakedModel parent, Function<SpriteIdentifier, Sprite> textureGetter, ModelBakeSettings settings, Identifier id, boolean hasDepth) WeightedUnbakedModel.bake
(Baker baker, Function<SpriteIdentifier, Sprite> textureGetter, ModelBakeSettings rotationContainer, Identifier modelId) 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