Uses of Class
net.minecraft.client.renderer.texture.TextureAtlasSprite
Packages that use TextureAtlasSprite
Package
Description
-
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.getTexture(BlockState p_110883_, Level level, BlockPos pos) -
Uses of TextureAtlasSprite in net.minecraft.client.renderer.block.model
Fields in net.minecraft.client.renderer.block.model declared as TextureAtlasSpriteMethods in net.minecraft.client.renderer.block.model that return TextureAtlasSpriteMethods in net.minecraft.client.renderer.block.model with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionstatic BakedQuadFaceBakery.bakeQuad(Vector3f pPosFrom, Vector3f pPosTo, BlockElementFace pFace, TextureAtlasSprite pSprite, Direction pFacing, ModelState pTransform, BlockElementRotation pRotation, boolean pShade, int pLightEmission) private static voidFaceBakery.bakeVertex(int[] pVertexData, int pVertexIndex, Direction pFacing, BlockFaceUV pBlockFaceUV, float[] pPosDiv16, TextureAtlasSprite pSprite, Transformation pTransformation, BlockElementRotation pPartRotation) private static voidFaceBakery.fillVertex(int[] pVertexData, int pVertexIndex, Vector3f pVector, TextureAtlasSprite pSprite, BlockFaceUV pBlockFaceUV) private static int[]FaceBakery.makeVertices(BlockFaceUV pUvs, TextureAtlasSprite pSprite, Direction pOrientation, float[] pPosDiv16, Transformation pTransformation, BlockElementRotation pPartRotation) Constructors in net.minecraft.client.renderer.block.model with parameters of type TextureAtlasSpriteModifierConstructorDescriptionBakedQuad(int[] pVerticies, int pTintIndex, Direction pDirection, TextureAtlasSprite pSprite, boolean pShade, int pLightEmission) BakedQuad(int[] pVerticies, int pTintIndex, Direction pDirection, TextureAtlasSprite pSprite, boolean pShade, int pLightEmission, boolean hasAmbientOcclusion) -
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
Methods in net.minecraft.client.renderer.item that return TextureAtlasSprite -
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 TextureAtlasSpriteModifier and TypeFieldDescriptionprivate TextureAtlasSpriteSimpleBakedModel.Builder.particleIconprivate final TextureAtlasSpriteSimpleBakedModel.particleIconMethods in net.minecraft.client.resources.model that return TextureAtlasSpriteModifier and TypeMethodDescriptionprivate static TextureAtlasSpriteSimpleBakedModel.findSprite(SpriteGetter pSpriteGetter, TextureSlots pTextureSlots, String pMaterial) ModelBakery.TextureGetter.get(ModelDebugName pName, Material pMaterial) BakedModel.getParticleIcon()Deprecated.DelegateBakedModel.getParticleIcon()Deprecated.DelegateBakedModel.getParticleIcon(ModelData modelData) SimpleBakedModel.getParticleIcon()AtlasSet.StitchResult.getSprite(ResourceLocation pLocation) AtlasSet.StitchResult.missing()ModelBakery.TextureGetter.reportMissingReference(ModelDebugName pName, String pReference) SpriteGetter.reportMissingReference(String pReference) Material.sprite()Methods in net.minecraft.client.resources.model with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionstatic BakedQuadSimpleBakedModel.bakeFace(BlockElement pElement, BlockElementFace pFace, TextureAtlasSprite pSprite, Direction pFacing, ModelState pTransform) SimpleBakedModel.Builder.particle(TextureAtlasSprite pParticleIcon) Constructors in net.minecraft.client.resources.model with parameters of type TextureAtlasSpriteModifierConstructorDescriptionSimpleBakedModel(List<BakedQuad> pUnculledFaces, Map<Direction, List<BakedQuad>> pCulledFaces, boolean pHasAmbientOcclusion, boolean pUseBlockLight, boolean pIsGui3d, TextureAtlasSprite pParticleIcon, ItemTransforms pTransforms) Deprecated.Forge: Use variant with RenderTypeGroupSimpleBakedModel(List<BakedQuad> pUnculledFaces, Map<Direction, List<BakedQuad>> pCulledFaces, boolean pHasAmbientOcclusion, boolean pUseBlockLight, boolean pIsGui3d, TextureAtlasSprite pParticleIcon, ItemTransforms pTransforms, RenderTypeGroup renderTypes) -
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 TextureAtlasSpriteIModelBakerExtension.findSprite(TextureSlots slots, String slotName) Finds a sprite for the given slot name.default TextureAtlasSpriteIBakedModelExtension.getParticleIcon(ModelData data) -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client.model
Fields in net.neoforged.neoforge.client.model declared as TextureAtlasSpriteModifier and TypeFieldDescriptionprivate TextureAtlasSpriteUnbakedCompositeModel.Baked.Builder.particleprivate final TextureAtlasSpriteUnbakedCompositeModel.Baked.particleMethods in net.neoforged.neoforge.client.model that return TextureAtlasSpriteModifier and TypeMethodDescriptionEmptyModel.Baked.getParticleIcon()UnbakedCompositeModel.Baked.getParticleIcon()Methods in net.neoforged.neoforge.client.model with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionUnbakedCompositeModel.Baked.builder(boolean isAmbientOcclusion, boolean isGui3d, boolean isSideLit, TextureAtlasSprite particle, ItemTransforms cameraTransforms) static 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.static IModelBuilder<?> IModelBuilder.of(boolean hasAmbientOcclusion, boolean usesBlockLight, boolean isGui3d, ItemTransforms transforms, TextureAtlasSprite particle, RenderTypeGroup renderTypes) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new model builder that uses the provided attributes in the final baked model.UnbakedCompositeModel.Baked.Builder.setParticle(TextureAtlasSprite particleSprite) 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(IModelBuilder<?> builder, List<BlockElement> elements, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState) Bakes a list of block elements and feeds the baked quads to a model builder.Constructors in net.neoforged.neoforge.client.model with parameters of type TextureAtlasSpriteModifierConstructorDescriptionBaked(boolean isSideLit, boolean isAmbientOcclusion, TextureAtlasSprite particle, ItemTransforms transforms, ImmutableMap<String, BakedModel> children, ImmutableList<BakedModel> itemPasses) privateBuilder(boolean isAmbientOcclusion, boolean isGui3d, boolean isSideLit, TextureAtlasSprite particle, ItemTransforms transforms) privateSimple(boolean hasAmbientOcclusion, boolean usesBlockLight, boolean isGui3d, ItemTransforms transforms, TextureAtlasSprite particle, RenderTypeGroup renderTypes) -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client.model.obj
Methods in net.neoforged.neoforge.client.model.obj with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionObjModel.makeQuad(int[][] indices, int tintIndex, Vector4f colorTint, 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.
IBakedModelExtension.getParticleIcon(net.neoforged.neoforge.client.model.data.ModelData)