Materials: Difference between revisions

From MBedwars
Jump to navigation Jump to search
No edit summary
Line 20: Line 20:
=Potions=
=Potions=
Usage: <Material>:<Effect Name>:<Duration>:<Amplifier><br />
Usage: <Material>:<Effect Name>:<Duration>:<Amplifier><br />
For example: potion:jump:0:1200 (LVL 1 and available for 60 seconds)<br />
For example: potion:jump:1200:0 (LVL 1 and available for 60 seconds)<br />
<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]

Revision as of 19:38, 8 February 2018

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]
For example: dirt
or: stone:1
or: log:3

List with available materials

Creature Eggs

Usage: <Material>:<Entity Name>
For example: mob_spawner:creeper
or: moster_egg:chicken

List with available entity types

Player Skulls

Usage: <Material>:<Player Name>
For example: skull:Notch

Potions

Usage: <Material>:<Effect Name>:<Duration>:<Amplifier>
For example: potion:jump:1200:0 (LVL 1 and available for 60 seconds)

List with available potion types