Class SingleFile
java.lang.Object
net.minecraft.client.renderer.texture.atlas.sources.SingleFile
- All Implemented Interfaces:
SpriteSource
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.renderer.texture.atlas.SpriteSource
SpriteSource.Output, SpriteSource.SpriteSupplier
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<SingleFile>
private static final org.slf4j.Logger
private final ResourceLocation
private final Optional<ResourceLocation>
private final FileToIdConverter
-
Constructor Summary
ConstructorDescriptionSingleFile
(ResourceLocation p_261658_, Optional<ResourceLocation> p_261712_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
run
(ResourceManager p_261920_, SpriteSource.Output p_261578_) type()
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
CODEC
-
TEXTURE_ID_CONVERTER
-
resourceId
-
spriteId
-
-
Constructor Details
-
SingleFile
-
-
Method Details
-
run
- Specified by:
run
in interfaceSpriteSource
-
type
- Specified by:
type
in interfaceSpriteSource
-