mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-03 14:38:56 +00:00
WarItems class
This commit is contained in:
1 parent
c7e1f8a026
commit
4f1e66e642
1 file changed
+26
@@ -0,0 +1,26 @@
|
|||||||
|
package me.ShermansWorld.AlathraWar.items;
|
||||||
|
|
||||||
|
import org.bukkit.Material;
|
||||||
|
import org.bukkit.inventory.ItemStack;
|
||||||
|
import org.bukkit.inventory.meta.ItemMeta;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
|
||||||
|
public class WarItems {
|
||||||
|
|
||||||
|
|
||||||
|
public ItemStack getBatteringRam() {
|
||||||
|
|
||||||
|
ItemStack ram = new ItemStack(Material.GUNPOWDER);
|
||||||
|
ItemMeta meta = ram.getItemMeta();
|
||||||
|
|
||||||
|
meta.setDisplayName("Door Ram");
|
||||||
|
ArrayList<String> lore = new ArrayList<String>();
|
||||||
|
meta.setLore(lore);
|
||||||
|
|
||||||
|
ram.setItemMeta(meta);
|
||||||
|
|
||||||
|
return ram;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Reference in new issue
Block a user