Interface TextureByteSource
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Supplies raw PNG bytes for a logical texture id, however the owning layer
stores them (synced server bytes, client resources, or theme jar files).
-
Method Summary
Modifier and TypeMethodDescription@Nullable byte[]get(net.minecraft.resources.Identifier logicalTexture)
-
Method Details
-
get
@Nullable byte[] get(net.minecraft.resources.Identifier logicalTexture) - Returns:
- the PNG bytes or null.
-