Class Unstitcher
java.lang.Object
net.minecraft.client.renderer.texture.atlas.sources.Unstitcher
- All Implemented Interfaces:
SpriteSource
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record
static class
Nested classes/interfaces inherited from interface net.minecraft.client.renderer.texture.atlas.SpriteSource
SpriteSource.Output, SpriteSource.SpriteSupplier
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<Unstitcher> (package private) static final org.slf4j.Logger
private final List
<Unstitcher.Region> private final ResourceLocation
private final double
private final double
Fields inherited from interface net.minecraft.client.renderer.texture.atlas.SpriteSource
TEXTURE_ID_CONVERTER
-
Constructor Summary
ConstructorsConstructorDescriptionUnstitcher
(ResourceLocation resource, List<Unstitcher.Region> regions, double xDivisor, double yDivisor) -
Method Summary
Modifier and TypeMethodDescriptionvoid
run
(ResourceManager resourceManager, SpriteSource.Output output) type()
-
Field Details
-
LOGGER
static final org.slf4j.Logger LOGGER -
CODEC
-
resource
-
regions
-
xDivisor
private final double xDivisor -
yDivisor
private final double yDivisor
-
-
Constructor Details
-
Unstitcher
public Unstitcher(ResourceLocation resource, List<Unstitcher.Region> regions, double xDivisor, double yDivisor)
-
-
Method Details
-
run
- Specified by:
run
in interfaceSpriteSource
-
type
- Specified by:
type
in interfaceSpriteSource
-