KZone
  • KZone
    • 🥳Welcome to KZone
    • ☕Buy me a coffe
    • 💬KZone Discord
  • KGenerators
    • Commands & Permissions
    • Configuration files
      • Default config files
      • Configuring ItemStack
      • Configuring Block
      • Limits
      • Optional settings
    • Converting databases
    • Addons
      • SuperiorSkyblock2ForceHook
    • Supported plugins
      • Bentobox
      • EcoItems
      • FactionsUUID
      • FancyHolograms
      • IridiumSkyblock
      • ItemsAdder
      • JetsMinions
      • Lands
      • LitMinions
      • Minions-Revamped
      • MMOItems
      • MythicMobs
      • Nexo
      • Oraxen
      • PlotSquared
      • SlimeFun
      • SuperiorSkyblock2
      • PlaceholderAPI
      • PlayerPoints
      • WildStacker
      • WorldGuard
    • Developers API
Powered by GitBook
On this page
  • Where items configuration are supported?
  • What can I set?
  • Simple vs extended configuration
  1. KGenerators
  2. Configuration files

Configuring ItemStack

PreviousConfiguration filesNextConfiguring Block

Last updated 2 years ago

Where items configuration are supported?

There are a few places, where you can extensively edit Minecraft items. They include:

  • Generator item

  • Generated item

  • Recipes file

  • Custom drops item

What can I set?

Using extended item configuration its possible to set:

  • Amount

  • Name

  • Lore

  • Custom NBT

  • Custom head via material: "customhead:<base64>"

  • Custom Model Data

Simple vs extended configuration

At any place, where item is about to be configured there are two options possible to achieve that. Simple configuration saves space and is perfect, where you only want to set item material. Extended configuration on the other hand gives you the opportunity to freely customise ItemStack.

Simple configuration saves space and is perfect, where you only want to set item material.

...:
  item: STONE

Extended configuration on the other hand gives you the opportunity to freely customise ItemStack.

...:
 item:
   material: STONE
   amount: 1
   name: "Magic stone"
   lore:
    - "&cThats Magic Stone"
   enchants:
   - FORTUNE:1
   item-flags:
   - HIDE_ATTRIBUTES
   custom-nbt:
   - "custom_nbt_key:custom nbt value"
   custom-model-data: 155

This is custom head item.

It can be set alone

...:
  item: customhead:ewogICJ0aW1lc3RhbXAiIDogMTY1NDEzNTEyMjkwOSwKICAicHJvZmlsZUlkIiA6ICI5ZGY3MmQyMTIzZDc0MWRiOWZmNGFlYzljZWIxNTRlNiIsCiAgInByb2ZpbGVOYW1lIiA6ICJLcnluaW8iLAogICJzaWduYXR1cmVSZXF1aXJlZCIgOiB0cnVlLAogICJ0ZXh0dXJlcyIgOiB7CiAgICAiU0tJTiIgOiB7CiAgICAgICJ1cmwiIDogImh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjQxMGMwZjI4ZDBjOTFkMGZlODFjZmUzZjZlMjMwYmFhN2YxOTY5NTlhOGI4NDBkN2U2ZDdlMDNjNjYzNDBkNSIKICAgIH0KICB9Cn0=

Or in extended item configuration

...:
    item:
    material: customhead:ewogICJ0aW1lc3RhbXAiIDogMTY1NDEzNTEyMjkwOSwKICAicHJvZmlsZUlkIiA6ICI5ZGY3MmQyMTIzZDc0MWRiOWZmNGFlYzljZWIxNTRlNiIsCiAgInByb2ZpbGVOYW1lIiA6ICJLcnluaW8iLAogICJzaWduYXR1cmVSZXF1aXJlZCIgOiB0cnVlLAogICJ0ZXh0dXJlcyIgOiB7CiAgICAiU0tJTiIgOiB7CiAgICAgICJ1cmwiIDogImh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjQxMGMwZjI4ZDBjOTFkMGZlODFjZmUzZjZlMjMwYmFhN2YxOTY5NTlhOGI4NDBkN2U2ZDdlMDNjNjYzNDBkNSIKICAgIH0KICB9Cn0=
    name: "Head"
    lore:
     - "&cThats just player head"

Extended configuration examples

example_generator:
  #... other configuration
  generator-item:
    material: GRASS
    name: '&aExample generator'
    #and so on...
example_generator:
  #...
  generates:
    #...
    - type: item
      chance: 10.0
      item:
        material: STONE #only this is required
        amount: 5
        name: "Magic stone"
        #and so on...
example_generator:
  #...
  generates:
    #...
    - type: block
      chance: 10.0
      material: STONE
      custom-drops:
        #...
        item:
          material: DIAMOND
          name: "&bDiamond"
          #and so on...
example_generator:
  #...
  ingredients:
    #...
    A:
      material: STONE
      name: "Magic stone"
      #and so on...

You can get base64 texture value from or from

Material
Item Flags
Enchants
Minecraft heads
player/skin