Materials: Difference between revisions

From MBedwars
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
<br />
<br />
[https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html List with available materials]
[https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html List with available materials]
==Creature Eggs==
=Creature Eggs=
Usage: <Material>:<Entity Name><br />
Usage: <Material>:<Entity Name><br />
For example: mob_spawner:creeper<br />
For example: mob_spawner:creeper<br />
Line 15: Line 15:
<br />
<br />
[https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html List with available entity types]
[https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html List with available entity types]
==Player Skulls==
=Player Skulls=
Usage: <Material>:<Player Name><br />
Usage: <Material>:<Player Name><br />
For example: skull:Notch
For example: skull:Notch
==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:0:1200 (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:34, 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:0:1200 (LVL 1 and available for 60 seconds)

List with available potion types