Package dev.triumphteam.gui.builder.item
Class SkullBuilder
java.lang.Object
dev.triumphteam.gui.builder.item.BaseItemBuilder<SkullBuilder>
dev.triumphteam.gui.builder.item.SkullBuilder
New builder for skull only, created to separate the specific features for skulls
Soon I'll add more useful features to this builder
-
Method Summary
Modifier and TypeMethodDescription@NotNull SkullBuilderowner(@NotNull org.bukkit.OfflinePlayer player) Sets skull owner via bukkit methods@NotNull SkullBuilderSets the skull texture using a BASE64 string@NotNull SkullBuilderSets the skull texture using a BASE64 stringMethods inherited from class dev.triumphteam.gui.builder.item.BaseItemBuilder
addEnchantment, addEnchantment, addEnchantment, addItemFlags, addLore, addLore, amount, asGuiItem, asGuiItem, build, color, disenchant, enchant, enchant, enchant, enchant, enchant, flags, getItemStack, getMeta, glow, glow, lore, lore, lore, model, name, pdc, removeEnchantment, removeNbt, setAmount, setItemStack, setLore, setLore, setMeta, setName, setNbt, setNbt, setUnbreakable, unbreakable, unbreakable
-
Method Details
-
texture
@NotNull @Contract("_, _ -> this") public @NotNull SkullBuilder texture(@NotNull @NotNull String texture, @NotNull @NotNull UUID profileId) Sets the skull texture using a BASE64 string- Parameters:
texture- The base64 textureprofileId- The unique id of the profile- Returns:
SkullBuilder
-
texture
@NotNull @Contract("_ -> this") public @NotNull SkullBuilder texture(@NotNull @NotNull String texture) Sets the skull texture using a BASE64 string- Parameters:
texture- The base64 texture- Returns:
SkullBuilder
-
owner
@NotNull @Contract("_ -> this") public @NotNull SkullBuilder owner(@NotNull @NotNull org.bukkit.OfflinePlayer player) Sets skull owner via bukkit methods- Parameters:
player-OfflinePlayerto set skull of- Returns:
SkullBuilder
-