-
Notifications
You must be signed in to change notification settings - Fork 0
Build: Map
A simulated player will be spawned at the start of each world, with a map in hand. You may have to re-log once in order for the helper to appear.
If you want to make use of this for a map at your own location (not in the Hermitcraft Save), you’ll want a command block system that’ll teleport the simulated player to your intended location, clear its inventory, and give it the map that you wish.
WARNING: This feature is not guaranteed to work in your own worlds without modifying the addon code — If possible, please use the original Decked Out 2’s map location (Approximately -510 63 1794).
To get a usable map of the dungeon at the original location, run /structure load spawn_simulated_player ~
If, in your Custom World, the map displays as an unknown map — despite you locating the map at the original location, consider the following steps (experimental, not guaranteed to work)
- Clear the helper’s inventory (so the item you give it will be held in its hand)
- Dispense a new map into its inventory, or </execute as helper run load a new structure> that you create with a map
These commands can likely be triggered either with a pressure plate beneath where the helper spawns, or with a /testfor command with these ^ two conditionally chained afterwards.
To save a new structure with a map,
- get a structure block via the /give @s command
- set its bounds to 1×1×1 with a +1 block offset on the y command
- Make sure “Enable Entities” is enabled, and “Remove Blocks” is disabled
- Throw your map item into the outlined area on top of the structure block
- Name and save the structure, being careful not to take the item back until the structure is saved