diff --git a/src/main/java/com/io/yutian/elementoriginlib/util/SkullBuilder.java b/src/main/java/com/io/yutian/elementoriginlib/util/SkullBuilder.java new file mode 100644 index 0000000..9fdbffc --- /dev/null +++ b/src/main/java/com/io/yutian/elementoriginlib/util/SkullBuilder.java @@ -0,0 +1,23 @@ +package com.io.yutian.elementoriginlib.util; + +import org.bukkit.Material; + +import java.util.UUID; + +public class SkullBuilder extends ItemStackBuilder { + + public SkullBuilder() { + super(Material.PLAYER_HEAD); + } + + public SkullBuilder(String textures) { + super(Material.PLAYER_HEAD); + setSkullTextures(textures); + } + + public SkullBuilder(UUID uuid) { + super(Material.PLAYER_HEAD); + setSkullOwner(uuid); + } + +} diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index bede30c..ffda2a4 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,5 +1,5 @@ name: ElementOriginLib -version: '1.3' +version: '1.3.1' main: com.io.yutian.elementoriginlib.ElementOriginLib api-version: '1.20' authors: [ SuperYuTian ]