Class SkullBuilder

java.lang.Object
io.rhythmknights.coreapi.modal.builder.item.BaseItemBuilder<SkullBuilder>
io.rhythmknights.coreapi.modal.builder.item.SkullBuilder

public final class SkullBuilder extends BaseItemBuilder<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 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 texture
      profileId - 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 - OfflinePlayer to set skull of
      Returns:
      SkullBuilder