Materials: Difference between revisions
Marcely1199 (talk | contribs) No edit summary |
Marcely1199 (talk | contribs) |
||
Line 22: | Line 22: | ||
Usage: <Material>:<Effect Name>:<Duration in ticks>:<Amplifier><br /> | Usage: <Material>:<Effect Name>:<Duration in ticks>:<Amplifier><br /> | ||
For example: potion:jump:1200:0 (LVL 1 and available for 60 seconds)<br /> | For example: potion:jump:1200:0 (LVL 1 and available for 60 seconds)<br /> | ||
Potion materials:<br> | |||
- potion | |||
- splash_potion | |||
- lingering_potion (1.9+) | |||
<br /> | <br /> | ||
[https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html List with available potion types] | [https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html List with available potion types] | ||
=Dyed Leather Armor= | =Dyed Leather Armor= | ||
Usage: <Material>:<Hex Color><br> | Usage: <Material>:<Hex Color><br> |
Revision as of 14:19, 11 April 2020
You can use them everywhere you must specify a material for an item and NOT a block.
Only simple materials work for blocks.
If the material/block is not appearing, then make sure that there isn't an other name.
Simple Materials (Stone, Chest, Beacon, ...)
Usage: <Material>[:Data]
Example: dirt
or: stone:1
or: log:3
List with available materials
Creature Spawner/Egg
Usage: <Material>:<Entity Name>
For example: mob_spawner:creeper
or: moster_egg:chicken
List with available entity types
Player Skulls
Usage: <Material>:<Player Name>
Example: skull:Notch
Potions
Usage: <Material>:<Effect Name>:<Duration in ticks>:<Amplifier>
For example: potion:jump:1200:0 (LVL 1 and available for 60 seconds)
Potion materials:
- potion - splash_potion - lingering_potion (1.9+)
List with available potion types
Dyed Leather Armor
Usage: <Material>:<Hex Color>
Example: leather_chestplate:#e542ff
May won't work for ingame players as it may get overwritten with the color of their team.