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> pRenderTypeGetter, TextureAtlasSprite pSprite, GuiSpriteScaling.NineSlice pNineSlice, int pX, int pY, int pBlitOffset, int pWidth, int pHeight) private voidGuiGraphics.blitNineSliceInnerSegment(Function<ResourceLocation, RenderType> pRenderTypeGetter, GuiSpriteScaling.NineSlice pNineSlice, TextureAtlasSprite pSprite, int pX, int pY, int pWidth, int pHeight, int pUPosition, int pVPosition, int pSpriteWidth, int pSpriteHeight, int pNineSliceWidth, int pNineSliceHeight, int pBlitOffset) voidGuiGraphics.blitSprite(Function<ResourceLocation, RenderType> pRenderTypeGetter, TextureAtlasSprite pSprite, int pX, int pY, int pWidth, int pHeight) voidGuiGraphics.blitSprite(Function<ResourceLocation, RenderType> pRenderTypeGetter, TextureAtlasSprite pSprite, int pX, int pY, int pWidth, int pHeight, int pBlitOffset) private voidGuiGraphics.blitSprite(Function<ResourceLocation, RenderType> pRenderTypeGetter, TextureAtlasSprite pSprite, int pTextureWidth, int pTextureHeight, int pUPosition, int pVPosition, int pX, int pY, int pUWidth, int pVHeight, int pBlitOffset) private voidGuiGraphics.blitTiledSprite(Function<ResourceLocation, RenderType> pRenderTypeGetter, TextureAtlasSprite pSprite, int pX, int pY, int pWidth, int pHeight, int pUPosition, int pVPosition, int pSpriteWidth, int pSpriteHeight, int pNineSliceWidth, int pNineSliceHeight, int pBlitOffset) private GuiMetadataSectionGuiSpriteManager.getMetadata(TextureAtlasSprite pSprite) GuiSpriteManager.getSpriteScaling(TextureAtlasSprite pSprite) -
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 pParticleAge, int pParticleMaxAge) ParticleEngine.MutableSpriteSet.get(RandomSource p_233889_) SpriteSet.get(int pAge, int pLifetime) SpriteSet.get(RandomSource pRandom) Methods in net.minecraft.client.particle with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionprotected voidTextureSheetParticle.setSprite(TextureAtlasSprite pSprite) Method parameters in net.minecraft.client.particle with type arguments of type TextureAtlasSpriteModifier and TypeMethodDescriptionvoidParticleEngine.MutableSpriteSet.rebind(List<TextureAtlasSprite> pSprites) -
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 pTexture, PoseStack pPoseStack, MultiBufferSource pBufferSource) Constructors in net.minecraft.client.renderer with parameters of type TextureAtlasSpriteModifierConstructorDescriptionSpriteCoordinateExpander(VertexConsumer pDelegate, TextureAtlasSprite pSprite) -
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 pState) Deprecated.BlockModelShaper.getParticleIcon(BlockState pState, 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 pElement, BlockElementFace pFace, TextureAtlasSprite pSprite, Direction pDirection, ModelState pModelState) static BakedQuadFaceBakery.bakeQuad(org.joml.Vector3fc pPosFrom, org.joml.Vector3fc pPosTo, BlockElementFace pFace, TextureAtlasSprite pSprite, Direction pFacing, ModelState pModelState, BlockElementRotation pRotation, boolean pShade, int pLightEmission) private static voidFaceBakery.bakeVertex(int[] pVertexData, int pVertexIndex, FaceInfo pFaceInfo, BlockElementFace.UVs pUvs, Quadrant pRotation, org.joml.Matrix4fc pInverseFaceTransform, float[] pShape, TextureAtlasSprite pSprite, Transformation pTransformation, BlockElementRotation pPartRotation) private static voidFaceBakery.fillVertex(int[] pVertexData, int pVertexIndex, org.joml.Vector3f pPos, TextureAtlasSprite pSprite, float pU, float pV) private static int[]FaceBakery.makeVertices(BlockElementFace.UVs pUvs, Quadrant pRotation, org.joml.Matrix4fc pInverseFaceTransform, TextureAtlasSprite pSprite, Direction pFacing, float[] pShape, Transformation pTransformation, BlockElementRotation pPartRotation) private static BlockElementFace.UVsFaceBakery.shrinkUVs(TextureAtlasSprite pSprite, BlockElementFace.UVs pUvs) 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 pPoseStack, VertexConsumer pBuffer, int[] pLightCoords, int pWidth, int pHeight, TextureAtlasSprite pFrontSprite, TextureAtlasSprite pBackSprite) -
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 pRandom) Methods in net.minecraft.client.renderer.item with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionvoidItemStackRenderState.LayerRenderState.setParticleIcon(TextureAtlasSprite pParticleIcon) 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 pName) 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> pStitcher, int pX, int pY) 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 pOutputDir, String pOutputFilename, Map<ResourceLocation, TextureAtlasSprite> pSprites) 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 pMapDecoration) PaintingTextureManager.get(PaintingVariant pPaintingVariant) PaintingTextureManager.getBackSprite()protected TextureAtlasSpriteTextureAtlasHolder.getSprite(ResourceLocation pLocation) 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 pMaterial, ModelDebugName pDebugName) AtlasSet.StitchResult.getSprite(ResourceLocation pLocation) AtlasSet.StitchResult.missing()WeightedVariants.particleIcon()SpriteGetter.reportMissingReference(String pName, ModelDebugName pDebugName) ModelDiscovery.ModelWrapper.resolveParticleSprite(TextureSlots p_405019_, ModelBaker p_405134_) default TextureAtlasSpriteResolvedModel.resolveParticleSprite(TextureSlots pTextureSlots, ModelBaker pModelBaker) static TextureAtlasSpriteResolvedModel.resolveParticleSprite(TextureSlots pTextureSlots, ModelBaker pModelBaker, ModelDebugName pDebugName) default TextureAtlasSpriteSpriteGetter.resolveSlot(TextureSlots pTextureSlots, String pName, ModelDebugName pModelDebugName) 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).