Uses of Class
net.minecraft.client.renderer.texture.TextureAtlasSprite
Packages that use TextureAtlasSprite
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
Extension interfaces for
client-only classes.-
Uses of TextureAtlasSprite in net.minecraft.client
Methods in net.minecraft.client that return types with arguments of type TextureAtlasSprite -
Uses of TextureAtlasSprite in net.minecraft.client.gui
Methods in net.minecraft.client.gui that return TextureAtlasSpriteMethods in net.minecraft.client.gui with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionprivate voidGuiGraphics.blitNineSlicedSprite(Function<ResourceLocation, RenderType> renderTypeGetter, TextureAtlasSprite sprite, GuiSpriteScaling.NineSlice nineSlice, int x, int y, int blitOffset, int width, int height) private voidGuiGraphics.blitNineSliceInnerSegment(Function<ResourceLocation, RenderType> renderTypeGetter, GuiSpriteScaling.NineSlice nineSlice, TextureAtlasSprite sprite, int x, int y, int width, int height, int uPosition, int vPosition, int spriteWidth, int spriteHeight, int nineSliceWidth, int nineSliceHeight, int blitOffset) voidGuiGraphics.blitSprite(Function<ResourceLocation, RenderType> renderTypeGetter, TextureAtlasSprite sprite, int x, int y, int width, int height) voidGuiGraphics.blitSprite(Function<ResourceLocation, RenderType> renderTypeGetter, TextureAtlasSprite sprite, int x, int y, int width, int height, int blitOffset) private voidGuiGraphics.blitSprite(Function<ResourceLocation, RenderType> renderTypeGetter, TextureAtlasSprite sprite, int textureWidth, int textureHeight, int uPosition, int vPosition, int x, int y, int uWidth, int vHeight, int blitOffset) private voidGuiGraphics.blitTiledSprite(Function<ResourceLocation, RenderType> renderTypeGetter, TextureAtlasSprite sprite, int x, int y, int width, int height, int uPosition, int vPosition, int spriteWidth, int spriteHeight, int nineSliceWidth, int nineSliceHeight, int blitOffset) private GuiMetadataSectionGuiSpriteManager.getMetadata(TextureAtlasSprite sprite) GuiSpriteManager.getSpriteScaling(TextureAtlasSprite sprite) -
Uses of TextureAtlasSprite in net.minecraft.client.gui.screens
Fields in net.minecraft.client.gui.screens declared as TextureAtlasSpriteModifier and TypeFieldDescriptionprivate TextureAtlasSpriteReceivingLevelScreen.cachedNetherPortalSpriteMethods in net.minecraft.client.gui.screens that return TextureAtlasSpriteModifier and TypeMethodDescriptionprivate TextureAtlasSpriteReceivingLevelScreen.getNetherPortalSprite() -
Uses of TextureAtlasSprite in net.minecraft.client.gui.screens.inventory
Fields in net.minecraft.client.gui.screens.inventory declared as TextureAtlasSpriteModifier and TypeFieldDescriptionprivate TextureAtlasSpriteBeaconScreen.BeaconPowerButton.sprite -
Uses of TextureAtlasSprite in net.minecraft.client.particle
Fields in net.minecraft.client.particle declared as TextureAtlasSpriteFields in net.minecraft.client.particle with type parameters of type TextureAtlasSpriteModifier and TypeFieldDescriptionprivate List<TextureAtlasSprite> ParticleEngine.MutableSpriteSet.spritesMethods in net.minecraft.client.particle that return TextureAtlasSpriteModifier and TypeMethodDescriptionParticleEngine.MutableSpriteSet.get(int particleAge, int particleMaxAge) ParticleEngine.MutableSpriteSet.get(RandomSource p_233889_) SpriteSet.get(int age, int lifetime) SpriteSet.get(RandomSource random) Methods in net.minecraft.client.particle with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionprotected voidTextureSheetParticle.setSprite(TextureAtlasSprite sprite) Method parameters in net.minecraft.client.particle with type arguments of type TextureAtlasSpriteModifier and TypeMethodDescriptionvoidParticleEngine.MutableSpriteSet.rebind(List<TextureAtlasSprite> sprites) -
Uses of TextureAtlasSprite in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer declared as TextureAtlasSpriteModifier and TypeFieldDescriptionprivate final TextureAtlasSpriteSpriteCoordinateExpander.spriteMethods in net.minecraft.client.renderer with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionprivate static voidScreenEffectRenderer.renderTex(TextureAtlasSprite texture, PoseStack poseStack, MultiBufferSource bufferSource) Constructors in net.minecraft.client.renderer with parameters of type TextureAtlasSpriteModifierConstructorDescriptionSpriteCoordinateExpander(VertexConsumer delegate, TextureAtlasSprite sprite) -
Uses of TextureAtlasSprite in net.minecraft.client.renderer.block
Fields in net.minecraft.client.renderer.block declared as TextureAtlasSpriteModifier and TypeFieldDescriptionprivate final TextureAtlasSprite[]LiquidBlockRenderer.lavaIconsprivate final TextureAtlasSprite[]LiquidBlockRenderer.waterIconsprivate TextureAtlasSpriteLiquidBlockRenderer.waterOverlayMethods in net.minecraft.client.renderer.block that return TextureAtlasSpriteModifier and TypeMethodDescriptionBlockModelShaper.getParticleIcon(BlockState state) Deprecated.BlockModelShaper.getParticleIcon(BlockState state, BlockAndTintGetter level, BlockPos pos) -
Uses of TextureAtlasSprite in net.minecraft.client.renderer.block.model
Fields in net.minecraft.client.renderer.block.model declared as TextureAtlasSpriteModifier and TypeFieldDescriptionprivate final TextureAtlasSpriteSimpleModelWrapper.particleIconThe field for theparticleIconrecord component.private final TextureAtlasSpriteBakedQuad.spriteThe field for thespriterecord component.Methods in net.minecraft.client.renderer.block.model that return TextureAtlasSpriteModifier and TypeMethodDescriptionBlockModelPart.particleIcon()BlockStateModel.particleIcon()Deprecated.SimpleModelWrapper.particleIcon()Returns the value of theparticleIconrecord component.SingleVariant.particleIcon()BakedQuad.sprite()Returns the value of thespriterecord component.Methods in net.minecraft.client.renderer.block.model with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionstatic BakedQuadSimpleUnbakedGeometry.bakeFace(BlockElement element, BlockElementFace face, TextureAtlasSprite sprite, Direction direction, ModelState modelState) static BakedQuadFaceBakery.bakeQuad(org.joml.Vector3fc posFrom, org.joml.Vector3fc posTo, BlockElementFace face, TextureAtlasSprite sprite, Direction facing, ModelState modelState, BlockElementRotation rotation, boolean shade, int lightEmission) private static voidFaceBakery.bakeVertex(int[] vertexData, int vertexIndex, FaceInfo faceInfo, BlockElementFace.UVs uvs, Quadrant rotation, org.joml.Matrix4fc inverseFaceTransform, float[] shape, TextureAtlasSprite sprite, Transformation transformation, BlockElementRotation partRotation) private static voidFaceBakery.fillVertex(int[] vertexData, int vertexIndex, org.joml.Vector3f pos, TextureAtlasSprite sprite, float u, float v) private static int[]FaceBakery.makeVertices(BlockElementFace.UVs uvs, Quadrant rotation, org.joml.Matrix4fc inverseFaceTransform, TextureAtlasSprite sprite, Direction facing, float[] shape, Transformation transformation, BlockElementRotation partRotation) private static BlockElementFace.UVsFaceBakery.shrinkUVs(TextureAtlasSprite sprite, BlockElementFace.UVs uvs) Constructors in net.minecraft.client.renderer.block.model with parameters of type TextureAtlasSpriteModifierConstructorDescriptionBakedQuad(int[] vertices, int tintIndex, Direction direction, TextureAtlasSprite sprite, boolean shade, int lightEmission) BakedQuad(int[] vertices, int tintIndex, Direction direction, TextureAtlasSprite sprite, boolean shade, int lightEmission, boolean hasAmbientOcclusion) Creates an instance of aBakedQuadrecord class.SimpleModelWrapper(QuadCollection quads, boolean useAmbientOcclusion, TextureAtlasSprite particleIcon) Deprecated.SimpleModelWrapper(QuadCollection quads, boolean useAmbientOcclusion, TextureAtlasSprite particleIcon, RenderType renderType) Creates an instance of aSimpleModelWrapperrecord class. -
Uses of TextureAtlasSprite in net.minecraft.client.renderer.block.model.multipart
Fields in net.minecraft.client.renderer.block.model.multipart declared as TextureAtlasSpriteModifier and TypeFieldDescription(package private) final TextureAtlasSpriteMultiPartModel.SharedBakedState.particleIconMethods in net.minecraft.client.renderer.block.model.multipart that return TextureAtlasSprite -
Uses of TextureAtlasSprite in net.minecraft.client.renderer.entity
Methods in net.minecraft.client.renderer.entity with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionprivate voidPaintingRenderer.renderPainting(PoseStack poseStack, VertexConsumer buffer, int[] lightCoords, int width, int height, TextureAtlasSprite frontSprite, TextureAtlasSprite backSprite) -
Uses of TextureAtlasSprite in net.minecraft.client.renderer.entity.layers
Fields in net.minecraft.client.renderer.entity.layers with type parameters of type TextureAtlasSpriteModifier and TypeFieldDescriptionprivate final Function<EquipmentLayerRenderer.TrimSpriteKey, TextureAtlasSprite> EquipmentLayerRenderer.trimSpriteLookup -
Uses of TextureAtlasSprite in net.minecraft.client.renderer.item
Fields in net.minecraft.client.renderer.item declared as TextureAtlasSpriteModifier and TypeFieldDescription(package private) TextureAtlasSpriteItemStackRenderState.LayerRenderState.particleIconprivate final TextureAtlasSpriteModelRenderProperties.particleIconThe field for theparticleIconrecord component.Methods in net.minecraft.client.renderer.item that return TextureAtlasSpriteModifier and TypeMethodDescriptionModelRenderProperties.particleIcon()Returns the value of theparticleIconrecord component.ItemStackRenderState.pickParticleIcon(RandomSource random) Methods in net.minecraft.client.renderer.item with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionvoidItemStackRenderState.LayerRenderState.setParticleIcon(TextureAtlasSprite particleIcon) Constructors in net.minecraft.client.renderer.item with parameters of type TextureAtlasSpriteModifierConstructorDescriptionModelRenderProperties(boolean usesBlockLight, TextureAtlasSprite particleIcon, ItemTransforms transforms) Creates an instance of aModelRenderPropertiesrecord class. -
Uses of TextureAtlasSprite in net.minecraft.client.renderer.state
Fields in net.minecraft.client.renderer.state declared as TextureAtlasSprite -
Uses of TextureAtlasSprite in net.minecraft.client.renderer.texture
Fields in net.minecraft.client.renderer.texture declared as TextureAtlasSpriteModifier and TypeFieldDescriptionprivate final TextureAtlasSpriteSpriteLoader.Preparations.missingThe field for themissingrecord component.private TextureAtlasSpriteTextureAtlas.missingSpriteFields in net.minecraft.client.renderer.texture with type parameters of type TextureAtlasSpriteModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, TextureAtlasSprite> SpriteLoader.Preparations.regionsThe field for theregionsrecord component.private Map<ResourceLocation, TextureAtlasSprite> TextureAtlas.texturesByNameMethods in net.minecraft.client.renderer.texture that return TextureAtlasSpriteModifier and TypeMethodDescriptionTextureAtlas.getSprite(ResourceLocation name) SpriteLoader.Preparations.missing()Returns the value of themissingrecord component.Methods in net.minecraft.client.renderer.texture that return types with arguments of type TextureAtlasSpriteModifier and TypeMethodDescriptionprivate Map<ResourceLocation, TextureAtlasSprite> SpriteLoader.getStitchedSprites(Stitcher<SpriteContents> stitcher, int x, int y) TextureAtlas.getTextures()SpriteLoader.Preparations.regions()Returns the value of theregionsrecord component.Method parameters in net.minecraft.client.renderer.texture with type arguments of type TextureAtlasSpriteModifier and TypeMethodDescriptionprivate static voidTextureAtlas.dumpSpriteNames(Path outputDir, String outputFilename, Map<ResourceLocation, TextureAtlasSprite> sprites) Constructors in net.minecraft.client.renderer.texture with parameters of type TextureAtlasSpriteModifierConstructorDescriptionPreparations(int width, int height, int mipLevel, TextureAtlasSprite missing, Map<ResourceLocation, TextureAtlasSprite> regions, CompletableFuture<Void> readyForUpload) Creates an instance of aPreparationsrecord class.Constructor parameters in net.minecraft.client.renderer.texture with type arguments of type TextureAtlasSpriteModifierConstructorDescriptionPreparations(int width, int height, int mipLevel, TextureAtlasSprite missing, Map<ResourceLocation, TextureAtlasSprite> regions, CompletableFuture<Void> readyForUpload) Creates an instance of aPreparationsrecord class. -
Uses of TextureAtlasSprite in net.minecraft.client.resources
Methods in net.minecraft.client.resources that return TextureAtlasSpriteModifier and TypeMethodDescriptionMapDecorationTextureManager.get(MapDecoration mapDecoration) PaintingTextureManager.get(PaintingVariant paintingVariant) PaintingTextureManager.getBackSprite()protected TextureAtlasSpriteTextureAtlasHolder.getSprite(ResourceLocation location) Gets a sprite associated with the passed resource location. -
Uses of TextureAtlasSprite in net.minecraft.client.resources.model
Fields in net.minecraft.client.resources.model declared as TextureAtlasSpriteFields in net.minecraft.client.resources.model with type parameters of type TextureAtlasSpriteModifier and TypeFieldDescriptionprivate static final ModelDiscovery.Slot<TextureAtlasSprite> ModelDiscovery.ModelWrapper.KEY_PARTICLE_SPRITEMethods in net.minecraft.client.resources.model that return TextureAtlasSpriteModifier and TypeMethodDescriptionSpriteGetter.get(Material material, ModelDebugName debugName) AtlasSet.StitchResult.getSprite(ResourceLocation location) AtlasSet.StitchResult.missing()WeightedVariants.particleIcon()SpriteGetter.reportMissingReference(String name, ModelDebugName debugName) ModelDiscovery.ModelWrapper.resolveParticleSprite(TextureSlots p_405019_, ModelBaker p_405134_) default TextureAtlasSpriteResolvedModel.resolveParticleSprite(TextureSlots textureSlots, ModelBaker modelBaker) static TextureAtlasSpriteResolvedModel.resolveParticleSprite(TextureSlots textureSlots, ModelBaker modelBaker, ModelDebugName debugName) default TextureAtlasSpriteSpriteGetter.resolveSlot(TextureSlots textureSlots, String name, ModelDebugName modelDebugName) Material.sprite() -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionstatic List<BlockElement> ClientHooks.fixItemModelSeams(List<BlockElement> elements, TextureAtlasSprite sprite) Modify the position and UVs of the edge quads of generated item models to account for sprite expansion of the front and back quad. -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event with type parameters of type TextureAtlasSpriteModifier and TypeFieldDescriptionprivate final Function<Material, TextureAtlasSprite> ModelEvent.ModifyBakingResult.textureGetterMethods in net.neoforged.neoforge.client.event that return types with arguments of type TextureAtlasSpriteModifier and TypeMethodDescriptionModelEvent.ModifyBakingResult.getTextureGetter()Returns a lookup function to retrieveTextureAtlasSprites by name from any of the atlases handled by theModelManager.Constructor parameters in net.neoforged.neoforge.client.event with type arguments of type TextureAtlasSpriteModifierConstructorDescriptionModifyBakingResult(ModelBakery.BakingResult bakingResult, Function<Material, TextureAtlasSprite> textureGetter, ModelBakery modelBakery) -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions that return TextureAtlasSpriteModifier and TypeMethodDescriptiondefault TextureAtlasSpriteBlockStateModelExtension.particleIcon(BlockAndTintGetter level, BlockPos pos, BlockState state) Returns the particle icon. -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client.model
Methods in net.neoforged.neoforge.client.model that return TextureAtlasSpriteModifier and TypeMethodDescriptionDelegateBlockStateModel.particleIcon()Deprecated.DelegateBlockStateModel.particleIcon(BlockAndTintGetter level, BlockPos pos, BlockState state) Methods in net.neoforged.neoforge.client.model with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionstatic List<BlockElement> UnbakedElementsHelper.createUnbakedItemElements(int layerIndex, TextureAtlasSprite sprite) static List<BlockElement> UnbakedElementsHelper.createUnbakedItemElements(int layerIndex, TextureAtlasSprite sprite, @Nullable ExtraFaceData faceData) Creates a list of block elements in the shape of the specified sprite contents.static List<BlockElement> UnbakedElementsHelper.createUnbakedItemMaskElements(int layerIndex, TextureAtlasSprite sprite) static List<BlockElement> UnbakedElementsHelper.createUnbakedItemMaskElements(int layerIndex, TextureAtlasSprite sprite, @Nullable ExtraFaceData faceData) Creates a list of block elements in the shape of the specified sprite contents.Method parameters in net.neoforged.neoforge.client.model with type arguments of type TextureAtlasSpriteModifier and TypeMethodDescriptionUnbakedElementsHelper.bakeElements(List<BlockElement> elements, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState) Bakes a list of block elements and returns the list of baked quads.static voidUnbakedElementsHelper.bakeElements(QuadCollection.Builder builder, List<BlockElement> elements, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState) Bakes a list of block elements and feeds the baked quads to a quad collection builder. -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client.model.block
Fields in net.neoforged.neoforge.client.model.block declared as TextureAtlasSpriteModifier and TypeFieldDescriptionprivate final TextureAtlasSpriteCompositeBlockModel.particleIconMethods in net.neoforged.neoforge.client.model.block that return TextureAtlasSprite -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client.model.obj
Methods in net.neoforged.neoforge.client.model.obj with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionObjGeometry.makeQuad(int[][] indices, int tintIndex, org.joml.Vector4f colorTint, org.joml.Vector4f ambientColor, TextureAtlasSprite texture, Transformation transform) -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client.model.pipeline
Fields in net.neoforged.neoforge.client.model.pipeline declared as TextureAtlasSpriteMethods in net.neoforged.neoforge.client.model.pipeline with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionvoidQuadBakingVertexConsumer.setSprite(TextureAtlasSprite sprite) -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client.textures
Subclasses of TextureAtlasSprite in net.neoforged.neoforge.client.texturesModifier and TypeClassDescriptionclassA helper sprite with UVs spanning the entire texture.Fields in net.neoforged.neoforge.client.textures declared as TextureAtlasSpriteModifier and TypeFieldDescriptionprivate static TextureAtlasSpriteFluidSpriteCache.missingSpriteFields in net.neoforged.neoforge.client.textures with type parameters of type TextureAtlasSpriteModifier and TypeFieldDescriptionprivate static Map<ResourceLocation, TextureAtlasSprite> FluidSpriteCache.textureLookupMethods in net.neoforged.neoforge.client.textures that return TextureAtlasSpriteModifier 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.static TextureAtlasSpriteFluidSpriteCache.getSprite(ResourceLocation texture) Returns a specified sprite or a missing sprite texture if sprite is not found.
BlockStateModelExtension.particleIcon(net.minecraft.world.level.BlockAndTintGetter, net.minecraft.core.BlockPos, net.minecraft.world.level.block.state.BlockState).