Interface SpriteResourceLoader
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic SpriteResourceLoader
create
(Collection<MetadataSectionSerializer<?>> sectionSerializers) default SpriteContents
loadSprite
(ResourceLocation location, Resource resource) loadSprite
(ResourceLocation location, Resource resource, SpriteContentsConstructor constructor)
-
Field Details
-
LOGGER
static final org.slf4j.Logger LOGGER
-
-
Method Details
-
create
-
loadSprite
-
loadSprite
@Nullable SpriteContents loadSprite(ResourceLocation location, Resource resource, SpriteContentsConstructor constructor)
-