Interface PlayerIconFactory
- All Superinterfaces:
BiFunction<UUID,
BufferedImage, BufferedImage>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface PlayerIconFactory
extends BiFunction<UUID,BufferedImage,BufferedImage>
-
Method Summary
Modifier and TypeMethodDescriptionapply
(UUID playerUuid, BufferedImage playerSkin) Takes a players UUID and skin-image and creates an iconMethods inherited from interface java.util.function.BiFunction
andThen
-
Method Details
-
apply
Takes a players UUID and skin-image and creates an icon- Specified by:
apply
in interfaceBiFunction<UUID,
BufferedImage, BufferedImage> - Parameters:
playerUuid
- the players UUIDplayerSkin
- the input image- Returns:
- a new
BufferedImage
generated based on the input image
-