mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-29 23:48:00 +01:00
Docs
This commit is contained in:
parent
70f96723e6
commit
712c98bb6b
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