Mortis Development
  • 👋Mortis Development
  • Mortis Core
    • Commands & Permissions
    • Custom Items
      • Detectors
      • Crafting Recipes
    • Custom Menus
      • Menu Items
      • Actions
        • Action Types
      • Requirements
    • Custom Blocks
    • Custom Mobs
    • Randomizer
    • Actions
      • Action Types
    • Requirements
      • Requirement Types
    • Default Configs
  • Mortis Minion
    • Commands & Permissions
    • Placeholders
    • Minions
      • Layouts
      • Minion Tiers
    • Skins
    • Fuels
    • Shippings
    • Upgrades
    • External Storages
    • Action Types
    • Default Configs
  • Mortis Bank
    • Commands & Permissions
    • Placeholders
    • Accounts
    • Action Types
    • Default Configs
Powered by GitBook
On this page
  • Example
  • Identifier
  • Reference
  • Material
  • Amount
  • Durability
  • Name
  • Lore
  • Enchants
  • Flags
  • Unbreakable
  • Glow
  • Custom Model Data
  • Hide Attributes
  • Hide Effects
  • Hide Enchants
  • Hide Unbreakable
  • Potion Effects
  • Block Data
  • Entity Type
  • Color
  • Banner Patterns
  • Axolotl
  • Armor Trim
  • Persistent Data
  • Persistent Strings
  • Persistent Integers
  • Persistent Booleans
  • Persistent Doubles
  • Persistent Longs
  • Persistent Floats
  • Persistent Shorts
  • Persistent Bytes

Was this helpful?

  1. Mortis Core

Custom Items

All custom item related options & configurations

Example

id: phoenix_blade
material: GOLDEN_SWORD
name: "&6Blade of the Phoenix"
lore:
  - "&7Crafted from the feathers of a "
  - "&7mythical phoenix, this sword burns"
  - "&7with the fury of a thousand suns."
enchants:
  - FIRE_ASPECT:2
  - DURABILITY:3
hide-enchants: true

Identifier

id: example_id

Allows you to set a identifier for the Custom Item.

This option is only required when created in items folder

Reference

reference: namespace:example_id

Allows you to copy another Custom Item's properties by using it's namespacedkey.

Material

material: GOLDEN_SWORD

Allows you to set the material for the Custom Item.

Supported values:

  • Player Head (head-<player_name>)

  • Texture Head (texture-<minecraft-url>)

  • Water Bottle (water_bottle)

  • Item in main hand (hand)

  • Item in offhand (offhand)

  • Item on Head (helmet)

  • Item on Chest (chestplate)

  • Item on Legs (leggings)

  • Item on Feet (boots)

Items relating to Player's inventory may only be used in Menu Items

Amount

amount: 1

Allows you to set the amount for the Custom Item.

Durability

durability: 100

Allows you to set the durability of the Custom Item.

Name

name: "&6Blade of the Phoenix"

Allows you to set the display name for the Custom Item.

You can use color codes and hex codes in this option

Lore

lore:
  - "&7Crafted from the feathers of a "
  - "&7mythical phoenix, this sword burns"
  - "&7with the fury of a thousand suns."

Allows you to set the lore for the Custom Item.

You can use color codes and hex codes in this option

Enchants

enchants:
  - FIRE_ASPECT:2
  - DURABILITY:3

Allows you to add enchantments to the Custom Item.

Flags

flags:
  - FIRE_ASPECT:2
  - DURABILITY:3

Allows you to add item flags to the Custom Item.

Unbreakable

unbreakable: true

Allows you to set the Custom Item to never break.

Glow

glow: true

Allows you to set the glow for the Custom Item.

Custom Model Data

custom-model-data: 5

Allows you to set the custom model data for the Custom Item.

Hide Attributes

custom-model-data: 5

Allows you to set the custom model data for the Custom Item.

Hide Effects

hide-effects: true

Allows you to hide the potion effects from the Custom Item.

Hide Enchants

hide-enchants: true

Allows you to hide the enchantments from the Custom Item.

Hide Unbreakable

hide-unbreakable: true

Allows you to hide the unbreakable tag from the Custom Item.

Potion Effects

potion-effects:
  - <type>:<duration>:<amplifier>

Allows you to add potion effects to the Custom Item.

This option is only available when the material is potion, splash_potion, lingering_potion tipped_arrow

Block Data

block-data: "minecraft:lever[facing=down,powered=true]"

Allows you to set the block data for the Custom Item.

This option is only available when the material is a block

Entity Type

entity: ZOMBIE

Allows you to set the entity type of the Custom Item.

This option is only available when the material is spawner

Color

rgb: 255,255,255

Allows you to set the color of the Custom Item.

This option is only available when the material is leather armor, potion, map, firework

Banner Patterns

banner-patterns:
  - <color>:<type>

Allows you to add banner patterns to the Custom Item.

This option is only available when the material is banner

Axolotl

axolotl: <variant>

Allows you to set the axolotl variant for the Custom Item.

This option is only available when the material is axolotl_bucket

Armor Trim

trim: <material>:<pattern>

Allows you to set the armor trim of the Custom Item.

This option is only available when the material is a armor

Persistent Data

Allows you to add persistent data to the Custom Item

Persistent Strings

persistent-strings:
  - namespace:id=value

Allows you to add persistent as a list of string to the Custom Item

The value can be any String

Persistent Integers

persistent-integers:
  - namespace:id=value

Allows you to add persistent as a list of integer to the Custom Item

The value can be any whole number from -2,147,483,648 to 2,147,483,647

Persistent Booleans

persistent-booleans:
  - namespace:id=value

Allows you to add persistent as a list of boolean to the Custom Item

The value can either be true or false

Persistent Doubles

persistent-doubles:
  - namespace:id=value

Allows you to add persistent as a list of double to the Custom Item

The value can be any fractional number. Can store 15 decimal digits

Persistent Longs

persistent-longs:
  - namespace:id=value

Allows you to add persistent as a list of long to the Custom Item

The value can be any whole number from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807

Persistent Floats

persistent-floats:
  - namespace:id=value

Allows you to add persistent as a list of float to the Custom Item

The value can be any fractional number. Can store 6 to 7 decimal digits

Persistent Shorts

persistent-shorts:
  - namespace:id=value

Allows you to add persistent data as a list of short to the Custom Item

The value can be any whole number from -32,768 to 32,767

Persistent Bytes

persistent-bytes:
  - namespace:id=value

Allows you to add persistent data as a list of byte to the Custom Item

The value can be any whole number from -128 to 127

PreviousCommands & PermissionsNextDetectors

Was this helpful?

For example: You can reference a Custom Item from by using mortisminion:example_id

(hdb-<head-id>)

(itemsadder-<namespacedkey>)

Mortis Minion
Material Types
Heads Database
ItemsAdder
Click here to view the list of enchantments
Click here to view the list of item flags
Click here to view the list of potion effect types
Click here to view the list of dye colors
Click here to view the list of pattern types
Click here to view the list of axolotl variants
Click here to view the list of trim materials
Click here to view the list of trim patterns