BetterTalismansAPI - AlonsoAliaga/BetterTalismans GitHub Wiki
BetterTalismansAPI can be used to make some checks easily.
- Get the list of available talismans.
- Create talisman with the specific identifier. Returns null if not valid talisman identifier.
ItemStack createCustomTalisman(@Nonnull Material material, @Nonnull String talismanName, @Nullable String displayname, boolean glow, boolean addLore, LoadAttribute... attributes)
- Create talisman with custom material, talisman identifier, displayname, glow effect, attribute lore added, and custom attributes.
ItemStack createCustomTalisman(@Nonnull ItemStack itemStack,@Nonnull String talismanName, @Nullable String displayname, boolean glow, boolean addLore, LoadAttribute... attributes)
- Create talisman based in custom itemstack, talisman identifier, displayname, glow effect, attribute lore added, and custom attributes.
- When a player crafts a talisman.