Materials: Difference between revisions

From MBedwars
Jump to navigation Jump to search
No edit summary
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 3: Line 3:
If the material/block is not appearing, then make sure that there isn't an other name.
If the material/block is not appearing, then make sure that there isn't an other name.
=Simple Materials (Stone, Chest, Beacon, ...)=
=Simple Materials (Stone, Chest, Beacon, ...)=
Usage: <Material>[:Data]<br />
Usage: <Material>[:Data, 0 by default]<br />
Example: dirt<br />
Example: dirt<br />
or: stone:1<br />
or: stone:1<br />
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 Spawner/Egg=
=Creature Spawner/Egg=
Usage: <Material>:<Entity Name><br />
Usage: <Material>:<Entity Name><br />
Line 18: Line 19:
=Player Skulls=
=Player Skulls=
Usage: <Material>:<Player Name><br />
Usage: <Material>:<Player Name><br />
Example: skull:Notch
Example on 1.8 - 1.12: skull:Notch<br />
Example on 1.13+: player_head:md5
 
=Potions=
=Potions=
Usage: <Material>:<Effect Name>:<Duration>:<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 (1.9+)
* lingering_potion (1.9+)
* tipped arrows (Bedwars v5.0.5+ only)
<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>
Example: leather_chestplate:<span style="color:#e542ff">#e542ff</span><br>
Example: leather_chestplate:#e542ff<br>
May won't work for ingame players as it may get overwritten with the color of their team.
<br>
<br>
<html>
<html>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/acolorpicker.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/acolorpicker.min.js"></script>
<div class="picker"  
<div class="picker"  
     acp-color="#EFE9E7"  
     acp-color="#e542ff"  
     acp-show-rgb="no"
     acp-show-rgb="no"
     acp-show-hsl="yes"
     acp-show-hsl="no"
     acp-show-hex="yes"
     acp-show-hex="yes">
    acp-show-alpha>
</div>
</div>abc
<script>
AColorPicker.createPicker(".picker", { });
</script>
</html>
</html>
=Using NBT=
It's possible to include NBT data - the same way you do it with the vanilla command [https://minecraft.gamepedia.com/Commands/give /give].<br>
Simply include the NBT at the end. That's it.<br>
<br>
''Examples:''
iron_sword {display:{Lore:["\"A legendary weapon\""]}}
1.8 - 1.12: diamond_sword {ench:[{id:16,lvl:10}]}
1.13+: diamond_sword {Enchantments:[{id:"minecraft:sharpness",lvl:10}]}

Latest revision as of 20:16, 26 December 2021

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, 0 by default]
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 on 1.8 - 1.12: skull:Notch
Example on 1.13+: player_head:md5

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 (1.9+)
  • lingering_potion (1.9+)
  • tipped arrows (Bedwars v5.0.5+ only)


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.

Using NBT

It's possible to include NBT data - the same way you do it with the vanilla command /give.
Simply include the NBT at the end. That's it.

Examples:

iron_sword {display:{Lore:["\"A legendary weapon\""]}}
1.8 - 1.12: diamond_sword {ench:[{id:16,lvl:10}]}
1.13+: diamond_sword {Enchantments:[{id:"minecraft:sharpness",lvl:10}]}