Companion

Properties

Link copied to clipboard
val baseArmor: @NotNull NamespacedKey
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Creates a new ItemStack for a GUI item, sets its pdc key and adds a custom model data string for resource packs.

Link copied to clipboard

The default lore language key for a Pylon item.

Link copied to clipboard

The default name language key for a Pylon item.

Link copied to clipboard

Creates a new ItemStackBuilder from stack. Any modifications made to the ItemStackBuilder will also be made to stack.

Link copied to clipboard

Creates a new ItemStack for a PylonItem by setting the name and lore to the default translation keys, and setting the item's Pylon ID to the provided key.

Link copied to clipboard

Creates a new ItemStack for a PylonItem that can be worn in the specified slot. You must provide a value for armor and armor-toughness in the Settings for the item.

Link copied to clipboard
fun pylonBoots(material: Material, key: NamespacedKey, hasDurability: Boolean): ItemStackBuilder

Creates a new ItemStack for a PylonItem that can be worn in the boots slot. You must provide a value for armor and armor-toughness in the Settings for the item.

Link copied to clipboard

Creates a new ItemStack for a PylonItem that can be worn in the chestplate slot. You must provide a value for armor and armor-toughness in the Settings for the item.

Link copied to clipboard
fun pylonHelmet(material: Material, key: NamespacedKey, hasDurability: Boolean): ItemStackBuilder

Creates a new ItemStack for a PylonItem that can be worn in the helmet slot. You must provide a value for armor and armor-toughness in the Settings for the item.

Link copied to clipboard

Creates a new ItemStack for a PylonItem that can be worn in the leggings slot. You must provide a value for armor and armor-toughness in the Settings for the item.

Link copied to clipboard
fun pylonTool(material: Material, key: NamespacedKey, mineable: RegistryKeySet<BlockType>, hasDurability: Boolean): ItemStackBuilder

Creates a new ItemStack for a PylonItem that can be used as a tool for the mineable blocks. (See pickaxeMineable and related for basic tools) You must provide a value for mining-speed and mining-durability-damage in the Settings for the item.

Link copied to clipboard
fun pylonToolWeapon(material: Material, key: NamespacedKey, mineable: RegistryKeySet<BlockType>, hasDurability: Boolean, hasKnockback: Boolean, disablesShield: Boolean): ItemStackBuilder
fun pylonToolWeapon(stack: ItemStack, key: NamespacedKey, mineable: RegistryKeySet<BlockType>, hasDurability: Boolean, hasKnockback: Boolean, disablesShield: Boolean): ItemStackBuilder

Creates a new ItemStack for a PylonItem that can be used as a weapon and tool for the mineable blocks. (See pickaxeMineable and related for basic tools) You must provide a value for attack-damage, attack-speed, attack-durability-damage, mining-speed and mining-durability-damage in the Settings for the item.

Link copied to clipboard
fun pylonWeapon(material: Material, key: NamespacedKey, hasDurability: Boolean, hasKnockback: Boolean, disablesShield: Boolean): ItemStackBuilder
fun pylonWeapon(stack: ItemStack, key: NamespacedKey, hasDurability: Boolean, hasKnockback: Boolean, disablesShield: Boolean): ItemStackBuilder

Creates a new ItemStack for a PylonItem that can be used as a weapon. You must provide a value for attack-damage, attack-speed and attack-durability-damage in the Settings for the item.