mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-29 15:37:59 +01:00
Docs
This commit is contained in:
parent
b44f0874b6
commit
0d47368bce
2 changed files with 12 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
package com.voxelmodpack.hdskins;
|
||||
|
||||
/**
|
||||
* Callback to perfom additional actions when the skin cache is cleared.
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface ISkinCacheClearListener {
|
||||
boolean onSkinCacheCleared();
|
||||
|
|
|
@ -3,8 +3,16 @@ package com.voxelmodpack.hdskins;
|
|||
import java.awt.Graphics;
|
||||
import java.awt.image.BufferedImage;
|
||||
|
||||
/**
|
||||
* Interface for mods to convert player skins before loading.
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface ISkinModifier {
|
||||
|
||||
/**
|
||||
* Called to convert the given skin.
|
||||
*
|
||||
* @param skin The skin being converted
|
||||
* @param dest Graphics for drawing onto the image
|
||||
*/
|
||||
void convertSkin(BufferedImage skin, Graphics dest);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue