Updated ParticleSet to have particle id
This commit is contained in:
parent
2056194d7d
commit
a5d7afe556
|
|
@ -53,4 +53,8 @@ public class ParticleSet {
|
|||
public ItemStack getItemStack() {
|
||||
return itemStack;
|
||||
}
|
||||
|
||||
public String getParticleId() {
|
||||
return uniqueId;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,10 +20,12 @@ public class Test {
|
|||
|
||||
static {
|
||||
MiniMessage miniMessage = MiniMessage.miniMessage();
|
||||
itemStack = new ItemStack(Material.CHEST);
|
||||
itemStack = new ItemStack(Material.BUCKET);
|
||||
ItemMeta itemMeta = itemStack.getItemMeta();
|
||||
itemMeta.displayName(miniMessage.deserialize("<gold>TestParticles</gold>"));
|
||||
itemMeta.lore(List.of(miniMessage.deserialize("<dark_aqua>A particle to test\nthe functionality of this plugin</dark_aqua>")));
|
||||
itemMeta.lore(List.of(
|
||||
miniMessage.deserialize("<dark_aqua>A particle to test</dark_aqua>"),
|
||||
miniMessage.deserialize("<dark_aqua>the functionality of this plugin</dark_aqua>")));
|
||||
itemStack.setItemMeta(itemMeta);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user