give player woodland mansion explorer map bukkit

Viewed 48

Does anyone knows how to give a player a woodland mansion explorer map?

Here is the code:

player.getInventory().addItem(new ItemBuilder(Material.HERE).setAmount(1).build());
1 Answers

You should use MapCursor. You can get some informations here too.

The objective is to create a new map cursor, use MapCursorCollection.

Then, I think that you should use the MapMeta to add it to the item.

Related