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 TextureAtlasSpriteModifier and TypeMethodDescriptionGuiSpriteManager.getSprite
(ResourceLocation pLocation) Gets a sprite associated with the passed resource location.Methods in net.minecraft.client.gui with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionvoid
GuiGraphics.blit
(int pX, int pY, int pBlitOffset, int pWidth, int pHeight, TextureAtlasSprite pSprite) Blits a portion of the specified texture atlas sprite onto the screen at the given coordinates.void
GuiGraphics.blit
(int pX, int pY, int pBlitOffset, int pWidth, int pHeight, TextureAtlasSprite pSprite, float pRed, float pGreen, float pBlue, float pAlpha) Blits a portion of the specified texture atlas sprite onto the screen at the given coordinates with a color tint.private void
GuiGraphics.blitNineSlicedSprite
(TextureAtlasSprite pSprite, GuiSpriteScaling.NineSlice pNineSlice, int pX, int pY, int pBlitOffset, int pWidth, int pHeight) private void
GuiGraphics.blitSprite
(TextureAtlasSprite pSprite, int pX, int pY, int pBlitOffset, int pWidth, int pHeight) private void
GuiGraphics.blitSprite
(TextureAtlasSprite pSprite, int pTextureWidth, int pTextureHeight, int pUPosition, int pVPosition, int pX, int pY, int pBlitOffset, int pUWidth, int pVHeight) private void
GuiGraphics.blitTiledSprite
(TextureAtlasSprite pSprite, int pX, int pY, int pBlitOffset, int pWidth, int pHeight, int pUPosition, int pVPosition, int pSpriteWidth, int pSpriteHeight, int pNineSliceWidth, int pNineSliceHeight) private GuiMetadataSection
GuiSpriteManager.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 TextureAtlasSprite
ReceivingLevelScreen.cachedNetherPortalSprite
Methods in net.minecraft.client.gui.screens that return TextureAtlasSpriteModifier and TypeMethodDescriptionprivate TextureAtlasSprite
ReceivingLevelScreen.getNetherPortalSprite()
-
Uses of TextureAtlasSprite in net.minecraft.client.gui.screens.inventory
Fields in net.minecraft.client.gui.screens.inventory declared as TextureAtlasSpriteModifier and TypeFieldDescriptionprivate TextureAtlasSprite
BeaconScreen.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.sprites
Methods in net.minecraft.client.particle that return TextureAtlasSpriteModifier and TypeMethodDescriptionParticleEngine.MutableSpriteSet.get
(int pParticleAge, int pParticleMaxAge) ParticleEngine.MutableSpriteSet.get
(RandomSource pRandom) SpriteSet.get
(int pAge, int pLifetime) SpriteSet.get
(RandomSource pRandom) Methods in net.minecraft.client.particle with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionprotected void
TextureSheetParticle.setSprite
(TextureAtlasSprite pSprite) Method parameters in net.minecraft.client.particle with type arguments of type TextureAtlasSpriteModifier and TypeMethodDescriptionvoid
ParticleEngine.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 TextureAtlasSprite
SpriteCoordinateExpander.sprite
Methods in net.minecraft.client.renderer with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionprivate static void
ScreenEffectRenderer.renderTex
(TextureAtlasSprite pTexture, PoseStack pPoseStack) 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.lavaIcons
private final TextureAtlasSprite[]
LiquidBlockRenderer.waterIcons
private TextureAtlasSprite
LiquidBlockRenderer.waterOverlay
Methods 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 BakedQuad
BlockModel.bakeFace
(BlockElement pElement, BlockElementFace pFace, TextureAtlasSprite pSprite, Direction pFacing, ModelState pState) FaceBakery.bakeQuad
(org.joml.Vector3f p_253895_, org.joml.Vector3f p_253976_, BlockElementFace p_111603_, TextureAtlasSprite p_111604_, Direction p_111605_, ModelState p_111606_, BlockElementRotation p_111607_, boolean p_111608_) private void
FaceBakery.bakeVertex
(int[] pVertexData, int pVertexIndex, Direction pFacing, BlockFaceUV pBlockFaceUV, float[] pPosDiv16, TextureAtlasSprite pSprite, Transformation pRotation, BlockElementRotation pPartRotation, boolean pShade) private void
FaceBakery.fillVertex
(int[] p_111615_, int p_111616_, org.joml.Vector3f p_254291_, TextureAtlasSprite p_111618_, BlockFaceUV p_111619_) private int[]
FaceBakery.makeVertices
(BlockFaceUV pUvs, TextureAtlasSprite pSprite, Direction pOrientation, float[] pPosDiv16, Transformation pRotation, BlockElementRotation pPartRotation, boolean pShade) Method parameters in net.minecraft.client.renderer.block.model with type arguments of type TextureAtlasSpriteModifier and TypeMethodDescriptionBlockModel.bake
(ModelBaker pBaker, Function<Material, TextureAtlasSprite> pSpriteGetter, ModelState pState) BlockModel.bake
(ModelBaker pBaker, BlockModel pModel, Function<Material, TextureAtlasSprite> pSpriteGetter, ModelState pState, boolean pGuiLight3d) MultiVariant.bake
(ModelBaker pBaker, Function<Material, TextureAtlasSprite> pSpriteGetter, ModelState pState) private BakedModel
ItemOverrides.bakeModel
(ModelBaker p_249483_, UnbakedModel p_251965_, ItemOverride p_250816_, Function<Material, TextureAtlasSprite> spriteGetter) BlockModel.bakeVanilla
(ModelBaker p_249720_, BlockModel p_111451_, Function<Material, TextureAtlasSprite> p_111452_, ModelState p_111453_, boolean p_111455_) ItemModelGenerator.generateBlockModel
(Function<Material, TextureAtlasSprite> pSpriteGetter, BlockModel pModel) BlockModel.getOverrides
(ModelBaker p_250138_, BlockModel p_251800_, Function<Material, TextureAtlasSprite> spriteGetter) Constructors in net.minecraft.client.renderer.block.model with parameters of type TextureAtlasSpriteModifierConstructorDescriptionBakedQuad
(int[] pVertices, int pTintIndex, Direction pDirection, TextureAtlasSprite pSprite, boolean pShade) BakedQuad
(int[] pVertices, int pTintIndex, Direction pDirection, TextureAtlasSprite pSprite, boolean pShade, boolean hasAmbientOcclusion) Constructor parameters in net.minecraft.client.renderer.block.model with type arguments of type TextureAtlasSpriteModifierConstructorDescriptionItemOverrides
(ModelBaker p_251211_, UnbakedModel p_111741_, List<ItemOverride> p_111743_, Function<Material, TextureAtlasSprite> spriteGetter) -
Uses of TextureAtlasSprite in net.minecraft.client.renderer.block.model.multipart
Method parameters in net.minecraft.client.renderer.block.model.multipart with type arguments of type TextureAtlasSpriteModifier and TypeMethodDescriptionMultiPart.bake
(ModelBaker pBaker, Function<Material, TextureAtlasSprite> pSpriteGetter, ModelState pState) -
Uses of TextureAtlasSprite in net.minecraft.client.renderer.entity
Methods in net.minecraft.client.renderer.entity with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionprivate void
PaintingRenderer.renderPainting
(PoseStack pPoseStack, VertexConsumer pConsumer, Painting pPainting, int pWidth, int pHeight, TextureAtlasSprite pPaintingSprite, TextureAtlasSprite pBackSprite) -
Uses of TextureAtlasSprite in net.minecraft.client.renderer.texture
Fields in net.minecraft.client.renderer.texture declared as TextureAtlasSpriteModifier and TypeFieldDescriptionprivate final TextureAtlasSprite
SpriteLoader.Preparations.missing
The field for themissing
record component.private TextureAtlasSprite
TextureAtlas.missingSprite
Fields in net.minecraft.client.renderer.texture with type parameters of type TextureAtlasSpriteModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, TextureAtlasSprite> SpriteLoader.Preparations.regions
The field for theregions
record component.private Map
<ResourceLocation, TextureAtlasSprite> TextureAtlas.texturesByName
Methods in net.minecraft.client.renderer.texture that return TextureAtlasSpriteModifier and TypeMethodDescriptionTextureAtlas.getSprite
(ResourceLocation pName) SpriteLoader.Preparations.missing()
Returns the value of themissing
record 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 theregions
record component.Method parameters in net.minecraft.client.renderer.texture with type arguments of type TextureAtlasSpriteModifier and TypeMethodDescriptionprivate static void
TextureAtlas.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 aPreparations
record 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 aPreparations
record 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 TextureAtlasSprite
TextureAtlasHolder.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 TypeFieldDescriptionprotected final TextureAtlasSprite
MultiPartBakedModel.particleIcon
private TextureAtlasSprite
SimpleBakedModel.Builder.particleIcon
protected final TextureAtlasSprite
SimpleBakedModel.particleIcon
private final TextureAtlasSprite
BuiltInModel.particleTexture
Fields in net.minecraft.client.resources.model with type parameters of type TextureAtlasSpriteModifier and TypeFieldDescriptionprivate final Function
<Material, TextureAtlasSprite> ModelBakery.ModelBakerImpl.modelTextureGetter
Methods in net.minecraft.client.resources.model that return TextureAtlasSpriteModifier and TypeMethodDescriptionModelBakery.TextureGetter.get
(ModelResourceLocation pModelLocation, Material pMaterial) BakedModel.getParticleIcon()
Deprecated.BuiltInModel.getParticleIcon()
MultiPartBakedModel.getParticleIcon()
Deprecated.MultiPartBakedModel.getParticleIcon
(ModelData modelData) SimpleBakedModel.getParticleIcon()
WeightedBakedModel.getParticleIcon()
WeightedBakedModel.getParticleIcon
(ModelData modelData) AtlasSet.StitchResult.getSprite
(ResourceLocation pLocation) AtlasSet.StitchResult.missing()
Material.sprite()
Methods in net.minecraft.client.resources.model that return types with arguments of type TextureAtlasSpriteMethods in net.minecraft.client.resources.model with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionSimpleBakedModel.Builder.particle
(TextureAtlasSprite pParticleIcon) Method parameters in net.minecraft.client.resources.model with type arguments of type TextureAtlasSpriteModifier and TypeMethodDescriptionModelBakery.ModelBakerImpl.bake
(ResourceLocation pLocation, ModelState pTransform, Function<Material, TextureAtlasSprite> sprites) UnbakedModel.bake
(ModelBaker pBaker, Function<Material, TextureAtlasSprite> pSpriteGetter, ModelState pState) ModelBakery.ModelBakerImpl.bakeUncached
(UnbakedModel pModel, ModelState pState, Function<Material, TextureAtlasSprite> sprites) Constructors in net.minecraft.client.resources.model with parameters of type TextureAtlasSpriteModifierConstructorDescriptionBuiltInModel
(ItemTransforms pItemTransforms, ItemOverrides pOverrides, TextureAtlasSprite pParticleTexture, boolean pUsesBlockLight) SimpleBakedModel
(List<BakedQuad> pUnculledFaces, Map<Direction, List<BakedQuad>> pCulledFaces, boolean pHasAmbientOcclusion, boolean pUsesBlockLight, boolean pIsGui3d, TextureAtlasSprite pParticleIcon, ItemTransforms pTransforms, ItemOverrides pOverrides) Deprecated.Forge: Use variant with RenderTypeGroupSimpleBakedModel
(List<BakedQuad> pUnculledFaces, Map<Direction, List<BakedQuad>> pCulledFaces, boolean pHasAmbientOcclusion, boolean pUsesBlockLight, boolean pIsGui3d, TextureAtlasSprite pParticleIcon, ItemTransforms pTransforms, ItemOverrides pOverrides, 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.textureGetter
Methods in net.neoforged.neoforge.client.event that return types with arguments of type TextureAtlasSpriteModifier and TypeMethodDescriptionModelEvent.ModifyBakingResult.getTextureGetter()
Returns a lookup function to retrieveTextureAtlasSprite
s by name from any of the atlases handled by theModelManager
.Constructor parameters in net.neoforged.neoforge.client.event with type arguments of type TextureAtlasSpriteModifierConstructorDescriptionModifyBakingResult
(Map<ModelResourceLocation, BakedModel> models, 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 TextureAtlasSprite
IBakedModelExtension.getParticleIcon
(ModelData data) Methods in net.neoforged.neoforge.client.extensions that return types with arguments of type TextureAtlasSpriteMethod parameters in net.neoforged.neoforge.client.extensions with type arguments of type TextureAtlasSpriteModifier and TypeMethodDescription@Nullable BakedModel
IModelBakerExtension.bake
(ResourceLocation location, ModelState state, Function<Material, TextureAtlasSprite> sprites) @Nullable BakedModel
IModelBakerExtension.bakeUncached
(UnbakedModel model, ModelState state, Function<Material, TextureAtlasSprite> sprites) -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client.model
Fields in net.neoforged.neoforge.client.model declared as TextureAtlasSpriteModifier and TypeFieldDescriptionprivate TextureAtlasSprite
CompositeModel.Baked.Builder.particle
private final TextureAtlasSprite
CompositeModel.Baked.particle
private final TextureAtlasSprite
SeparateTransformsModel.Baked.particle
Methods in net.neoforged.neoforge.client.model that return TextureAtlasSpriteModifier and TypeMethodDescriptionBakedModelWrapper.getParticleIcon()
BakedModelWrapper.getParticleIcon
(ModelData data) CompositeModel.Baked.getParticleIcon()
EmptyModel.Baked.getParticleIcon()
SeparateTransformsModel.Baked.getParticleIcon()
Methods in net.neoforged.neoforge.client.model with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionstatic CompositeModel.Baked.Builder
CompositeModel.Baked.builder
(boolean isAmbientOcclusion, boolean isGui3d, boolean isSideLit, TextureAtlasSprite particle, ItemOverrides overrides, ItemTransforms cameraTransforms) static CompositeModel.Baked.Builder
CompositeModel.Baked.builder
(IGeometryBakingContext owner, TextureAtlasSprite particle, ItemOverrides overrides, ItemTransforms cameraTransforms) static IModelBuilder
<?> IModelBuilder.of
(boolean hasAmbientOcclusion, boolean usesBlockLight, boolean isGui3d, ItemTransforms transforms, ItemOverrides overrides, TextureAtlasSprite particle, RenderTypeGroup renderTypes) Creates a new model builder that uses the provided attributes in the final baked model.CompositeModel.Baked.Builder.setParticle
(TextureAtlasSprite particleSprite) Method parameters in net.neoforged.neoforge.client.model with type arguments of type TextureAtlasSpriteModifier and TypeMethodDescriptionprotected void
ElementsModel.addQuads
(IGeometryBakingContext context, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState) protected void
EmptyModel.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform) CompositeModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides) DynamicFluidContainerModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides) EmptyModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides) ItemLayerModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides) SeparateTransformsModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides) Constructors in net.neoforged.neoforge.client.model with parameters of type TextureAtlasSpriteModifierConstructorDescriptionBaked
(boolean isGui3d, boolean isSideLit, boolean isAmbientOcclusion, TextureAtlasSprite particle, ItemTransforms transforms, ItemOverrides overrides, com.google.common.collect.ImmutableMap<String, BakedModel> children, com.google.common.collect.ImmutableList<BakedModel> itemPasses) Baked
(boolean isAmbientOcclusion, boolean isGui3d, boolean isSideLit, TextureAtlasSprite particle, ItemOverrides overrides, BakedModel baseModel, com.google.common.collect.ImmutableMap<ItemDisplayContext, BakedModel> perspectives) private
Builder
(boolean isAmbientOcclusion, boolean isGui3d, boolean isSideLit, TextureAtlasSprite particle, ItemOverrides overrides, ItemTransforms transforms) private
Simple
(boolean hasAmbientOcclusion, boolean usesBlockLight, boolean isGui3d, ItemTransforms transforms, ItemOverrides overrides, TextureAtlasSprite particle, RenderTypeGroup renderTypes) -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client.model.geometry
Methods in net.neoforged.neoforge.client.model.geometry with parameters of type TextureAtlasSpriteModifier and TypeMethodDescriptionstatic BakedQuad
UnbakedGeometryHelper.bakeElementFace
(BlockElement element, BlockElementFace face, TextureAtlasSprite sprite, Direction direction, ModelState state) Turns a singleBlockElementFace
into aBakedQuad
.static List
<BlockElement> UnbakedGeometryHelper.createUnbakedItemElements
(int layerIndex, TextureAtlasSprite sprite) static List
<BlockElement> UnbakedGeometryHelper.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> UnbakedGeometryHelper.createUnbakedItemMaskElements
(int layerIndex, TextureAtlasSprite sprite) static List
<BlockElement> UnbakedGeometryHelper.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.geometry with type arguments of type TextureAtlasSpriteModifier and TypeMethodDescriptionprotected abstract void
SimpleUnbakedGeometry.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform) BlockGeometryBakingContext.bake
(ModelBaker baker, Function<Material, TextureAtlasSprite> bakedTextureGetter, ModelState modelTransform, ItemOverrides overrides) IUnbakedGeometry.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides) SimpleUnbakedGeometry.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides) static BakedModel
UnbakedGeometryHelper.bake
(BlockModel blockModel, ModelBaker modelBaker, BlockModel owner, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, boolean guiLight3d) Helper for bakingBlockModel
instances.UnbakedGeometryHelper.bakeElements
(List<BlockElement> elements, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState) Bakes a list of block elements and returns the list of baked quads.static void
UnbakedGeometryHelper.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. -
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, org.joml.Vector4f colorTint, org.joml.Vector4f ambientColor, TextureAtlasSprite texture, Transformation transform) Method parameters in net.neoforged.neoforge.client.model.obj with type arguments of type TextureAtlasSpriteModifier and TypeMethodDescriptionprotected void
ObjModel.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform) void
ObjModel.ModelGroup.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform) void
ObjModel.ModelMesh.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform) void
ObjModel.ModelObject.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform) -
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 TypeMethodDescriptionvoid
QuadBakingVertexConsumer.setSprite
(TextureAtlasSprite sprite) -
Uses of TextureAtlasSprite in net.neoforged.neoforge.client.textures
Subclasses of TextureAtlasSprite in net.neoforged.neoforge.client.texturesModifier and TypeClassDescriptionclass
A helper sprite with UVs spanning the entire texture.Fields in net.neoforged.neoforge.client.textures declared as TextureAtlasSpriteModifier and TypeFieldDescriptionprivate static TextureAtlasSprite
FluidSpriteCache.missingSprite
Fields in net.neoforged.neoforge.client.textures with type parameters of type TextureAtlasSpriteModifier and TypeFieldDescriptionprivate static Map
<ResourceLocation, TextureAtlasSprite> FluidSpriteCache.textureLookup
Methods 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 TextureAtlasSprite
FluidSpriteCache.getSprite
(ResourceLocation texture) Returns a specified sprite or a missing sprite texture if sprite is not found. -
Uses of TextureAtlasSprite in net.neoforged.neoforge.oldtest.block
Method parameters in net.neoforged.neoforge.oldtest.block with type arguments of type TextureAtlasSpriteModifier and TypeMethodDescriptionFullPotsAccessorDemo.ClientHandler.DioritePotModelGeometry.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides) -
Uses of TextureAtlasSprite in net.neoforged.neoforge.oldtest.client.model
Methods in net.neoforged.neoforge.oldtest.client.model that return TextureAtlasSpriteMethod parameters in net.neoforged.neoforge.oldtest.client.model with type arguments of type TextureAtlasSpriteModifier and TypeMethodDescriptionprotected void
NewModelLoaderTest.TestModel.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform)
IBakedModelExtension.getParticleIcon(net.neoforged.neoforge.client.model.data.ModelData)