Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
items:stats [2019/10/04 04:22]
joshin
items:stats [2020/07/01 03:13] (current)
Line 22: Line 22:
 In RGB (red-green-blue) In RGB (red-green-blue)
 ``` ```
-TEST_ITEM:​ +    ​TEST_ITEM:​ 
-  material: LEATHER_CHESTPLATE +      material: LEATHER_CHESTPLATE 
-  dye-color: 100 100 100+      dye-color: 100 100 100
 ``` ```
  
Line 49: Line 49:
 Example: Blunt Power = 3 | Blunt Rating = 70% | When hitting an entity, enemies within 3 units of distance will take 70% of the initial damage. Example: Blunt Power = 3 | Blunt Rating = 70% | When hitting an entity, enemies within 3 units of distance will take 70% of the initial damage.
 ``` ```
-BLUNT_ITEM:​ +    ​BLUNT_ITEM:​ 
-  material: IRON_HAMMER +      material: IRON_HAMMER 
-  blunt-power:​ 3 +      blunt-power:​ 3 
-  blunt-rating:​ 70+      blunt-rating:​ 70
 ``` ```
  
Line 74: Line 74:
 The amount of health, food and saturation a consumable item restores! The amount of health, food and saturation a consumable item restores!
 ``` ```
-TEST_ITEM:​ +    ​TEST_ITEM:​ 
-  material: POTION +      material: POTION 
-  restore: +      restore: 
-    health: 3 +        health: 3 
-    food: 8 +        food: 8 
-    saturation: 16+        saturation: 16
 ``` ```
  
Line 86: Line 86:
 All potion effect names can be found in the [Spigot javadocs](https://​hub.spigotmc.org/​javadocs/​spigot/​org/​bukkit/​potion/​PotionEffectType.html). Duration is input in seconds. All potion effect names can be found in the [Spigot javadocs](https://​hub.spigotmc.org/​javadocs/​spigot/​org/​bukkit/​potion/​PotionEffectType.html). Duration is input in seconds.
 ``` ```
-TEST_ITEM:​ +    ​TEST_ITEM:​ 
-  material: BREAD +      material: BREAD 
-  effects: +      effects: 
-    increased_damage:​ 1 10+        increased_damage:​ 1 10
 ``` ```
 ===Permanent Effects=== ===Permanent Effects===
 The potion effects your item grant to the holder. Format: [POTION_EFFECT]:​ [AMPLIFIER] The potion effects your item grant to the holder. Format: [POTION_EFFECT]:​ [AMPLIFIER]
 ``` ```
-TEST_ITEM:​ +    ​TEST_ITEM:​ 
-  material: IRON_SWORD +      material: IRON_SWORD 
-  perm-effects:​ +      perm-effects:​ 
-    increased_damage:​ 1+        increased_damage:​ 1
 ``` ```
 ===Item Cooldown=== ===Item Cooldown===
Line 107: Line 107:
  
 ``` ```
-TEST_ITEM:​ +    ​TEST_ITEM:​ 
-  material: POTION +      material: POTION 
-  craft-enabled:​ true +      craft-enabled:​ true 
-  craft: +      craft: 
-  - AIR PAPER AIR +      - AIR PAPER AIR 
-  - PAPER DIAMOND PAPER +      - PAPER DIAMOND PAPER 
-  - PAPER PAPER PAPER +      - PAPER PAPER PAPER 
-  craft-enabled:​ true+      craft-enabled:​ true
 ``` ```
  
Line 123: Line 123:
  
 ``` ```
-TEST_ITEM:​ +    ​TEST_ITEM:​ 
-  material: IRON_SWORD +      material: IRON_SWORD 
-  advanced-craft-enabled:​ true +      advanced-craft-enabled:​ true 
-  advanced-craft:​ +      advanced-craft:​ 
-    '​0':​ +        '​0':​ 
-      material: IRON_INGOT +          material: IRON_INGOT 
-      amount: 1 +          amount: 1 
-      durability: 0 +          durability: 0 
-      name: ''"​ +          name: ''"​ 
-    '​1':​ +        '​1':​ 
-      material: AIR +          material: AIR 
-      amount: 1 +          amount: 1 
-      durability: 0 +          durability: 0 
-      name: ''"​ +          name: ''"​ 
-    '​2':​ +        '​2':​ 
-      material: AIR +          material: AIR 
-      amount: 1 +          amount: 1 
-      durability: 0 +          durability: 0 
-      name: ''"​ +          name: ''"​ 
-    '​3':​ +        '​3':​ 
-      material: AIR +          material: AIR 
-      amount: 1 +          amount: 1 
-      durability: 0 +          durability: 0 
-      name: ''"​ +          name: ''"​ 
-    '​4':​ +        '​4':​ 
-      material: IRON_INGOT +          material: IRON_INGOT 
-      amount: 1 +          amount: 1 
-      durability: 0 +          durability: 0 
-      name: ''"​ +          name: ''"​ 
-    '​5':​ +        '​5':​ 
-      material: AIR +          material: AIR 
-      amount: 1 +          amount: 1 
-      durability: 0 +          durability: 0 
-      name: ''"​ +          name: ''"​ 
-    '​6':​ +        '​6':​ 
-      material: AIR +          material: AIR 
-      amount: 1 +          amount: 1 
-      durability: 0 +          durability: 0 
-      name: ''"​ +          name: ''"​ 
-    '​7':​ +        '​7':​ 
-      material: AIR +          material: AIR 
-      amount: 1 +          amount: 1 
-      durability: 0 +          durability: 0 
-      name: ''"​ +          name: ''"​ 
-    '​8':​ +        '​8':​ 
-      material: STICK +          material: STICK 
-      amount: 1 +          amount: 1 
-      durability: 0 +          durability: 0 
-      name: ''"​+          name: ''"​
 ``` ```
  
Line 177: Line 177:
 The list of commands your item performs when right clicking it. Commands may have a cooldown and a delay, after which it is automatically cast. You can use this option to create e.g consumables which teleport you back home using the /spawn command. **Warning**:​ the command cooldown differs from the consumable cooldown, therefore you need to make sure they are the same, otherwise the consumable may be consumed without casting the commands. You can use the %player% placeholder to get the command sender name. The list of commands your item performs when right clicking it. Commands may have a cooldown and a delay, after which it is automatically cast. You can use this option to create e.g consumables which teleport you back home using the /spawn command. **Warning**:​ the command cooldown differs from the consumable cooldown, therefore you need to make sure they are the same, otherwise the consumable may be consumed without casting the commands. You can use the %player% placeholder to get the command sender name.
 ``` ```
-TEST_ITEM:​ +    ​TEST_ITEM:​ 
-    material: PAPER +        material: PAPER 
-    name: '&​rScroll of Cowardness'​ +        name: '&​rScroll of Cowardness'​ 
-    commands: +        commands: 
-        '​1':​ +            '​1':​ 
-            command: spawn +                command: spawn 
-            cooldown: 10 +                cooldown: 10 
-            delay: 1+                delay: 1
 ``` ```
  
Line 190: Line 190:
 This option can be used to display particles around arrows fired by your bow. Particles can be fully configured (type, speed, color). This option can be used to display particles around arrows fired by your bow. Particles can be fully configured (type, speed, color).
 ``` ```
-MARKING_BOW:​ +    ​MARKING_BOW:​ 
-    material: BOW +        material: BOW 
-    arrow-particles:​ +        arrow-particles:​ 
-        particle: SMOKE_NORMAL +            particle: SMOKE_NORMAL 
-        amount: 3 +            amount: 3 
-        speed: 0.05+            speed: 0.05
 ``` ```
  
Line 205: Line 205:
 Make sure your item has 3 as durability, otherwise this is not a player skull. For 1.13, you no longer need to give your item a durability, use the PLAYER_HEAD item material. Make sure your item has 3 as durability, otherwise this is not a player skull. For 1.13, you no longer need to give your item a durability, use the PLAYER_HEAD item material.
  
-**How to configurate your item skull texture:**+==How to configurate your item skull texture:==
 1. Find the head you want on Minecraft Heads or any similar head database. 1. Find the head you want on Minecraft Heads or any similar head database.
 2. Find the skull texture value, which should look something like this: `eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTdlMmY0OTQyNDNhY2FkM2Y0ODQ0YmM1YWUyZDVmZDUzZTY5MjczMzA0YzlkYmY1YmQxMzA5NDlmYTEzMjk4ZiJ9fX0=` 2. Find the skull texture value, which should look something like this: `eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTdlMmY0OTQyNDNhY2FkM2Y0ODQ0YmM1YWUyZDVmZDUzZTY5MjczMzA0YzlkYmY1YmQxMzA5NDlmYTEzMjk4ZiJ9fX0=`
Line 249: Line 249:
 ===Custom Item Sounds=== ===Custom Item Sounds===
 Custom item sounds are sounds played when performing specific actions with your items like attacking entities, right clicking your item, picking up your item... **Warning**,​ these sounds do not correspond to the Spigot javadocs sound names, they correspond to the vanilla sound names like `entity.zombie.attack_iron_door` (instead of `ENTITY_ZOMBIE_ATTACK_IRON_DOOR`).\ Custom item sounds are sounds played when performing specific actions with your items like attacking entities, right clicking your item, picking up your item... **Warning**,​ these sounds do not correspond to the Spigot javadocs sound names, they correspond to the vanilla sound names like `entity.zombie.attack_iron_door` (instead of `ENTITY_ZOMBIE_ATTACK_IRON_DOOR`).\
-Since they utilize vanilla sound names, you may use the sounds you added to your server resource pack setup! You can find the sound name list online ​like on this [[pastebin|https:​//pastebin.com/​gLMhUyis]].+Since they utilize vanilla sound names, you may use the sounds you added to your server resource pack setup! You can find the sound name list online ​through spigot/bukkit api/javadocs.

items/stats.1570162966.txt.gz · Last modified: 2020/07/01 03:13 (external edit)