mirror of
https://github.com/YouHaveTrouble/Enchantio.git
synced 2026-05-11 21:56:55 +00:00
telepathy enchant
This commit is contained in:
@@ -8,27 +8,20 @@ import org.bukkit.inventory.EquipmentSlotGroup;
|
||||
import java.util.Set;
|
||||
|
||||
public class SoulboundEnchant extends EnchantioEnchant {
|
||||
|
||||
public static final Key KEY = Key.key("enchantio:soulbound");
|
||||
|
||||
public SoulboundEnchant() {
|
||||
super(
|
||||
Key.key("enchantio:soulbound"),
|
||||
KEY,
|
||||
Component.translatable("enchantio.enchant.soulbound","Soulbound"),
|
||||
1,
|
||||
1,
|
||||
10,
|
||||
EnchantmentRegistryEntry.EnchantmentCost.of(1, 1),
|
||||
EnchantmentRegistryEntry.EnchantmentCost.of(3, 1),
|
||||
Set.of(
|
||||
ItemTypeTagKeys.AXES,
|
||||
ItemTypeTagKeys.PICKAXES,
|
||||
ItemTypeTagKeys.SWORDS,
|
||||
ItemTypeTagKeys.HOES,
|
||||
ItemTypeTagKeys.SHOVELS,
|
||||
ItemTypeTagKeys.ENCHANTABLE_BOW,
|
||||
ItemTypeTagKeys.ENCHANTABLE_CROSSBOW,
|
||||
ItemTypeTagKeys.ENCHANTABLE_MACE,
|
||||
ItemTypeTagKeys.ENCHANTABLE_WEAPON,
|
||||
ItemTypeTagKeys.ENCHANTABLE_ARMOR
|
||||
),
|
||||
ItemTypeTagKeys.ENCHANTABLE_ARMOR,
|
||||
ItemTypeTagKeys.ENCHANTABLE_ARMOR,
|
||||
Set.of(EquipmentSlotGroup.ANY)
|
||||
);
|
||||
registerEnchant(this);
|
||||
|
||||
Reference in New Issue
Block a user