I don't understand what you mean by that, but I found a way.
Creating Arraylist of maps
List<Map<String, Object>> items = (ArrayList)...
I'm not sure how to implement this. Should I make an ArrayList of maps?
Always put data on the map like this?
Hello, I'm having an issue.
Saving works just fine:
When i load it after adding the item before...
@timtower Thanks! [diamond]
@timtower No, I was calling it like:
Same load code
@timtower Please can you explain why its happening only after restart?
@timtower Don't want to save amount and metadata
Hello, I've created command that saves material and data to config,
Second command loads that material.
When i save the material and load it it...
Hello, Im trying to create armour which will give player potion effects. If player has more armour parts, I want the Amplifier to be higher.
Ok that works for testing but how to remove item with durability?
it doesnt work .
1. its getData()
2. and i cant test for ItemData with int .
Where have i put the id ? something like Material.INK_SACK (4) or material ,(4) doesnt work
Separate names with a comma.