API reference Obsidian.API.Loot.Functions
ExplorationMapFunction class
Adds explorer map data for the nearest structure of ExplorationMapFunction.Destination.
public sealed class ExplorationMapFunction : LootFunction
In Obsidian.API.
Remarks
The map is left as is when the context has no LootContext.ExplorationMaps or origin, or when no structure is found, like vanilla. The function draws no random numbers, so the other items of the table are unaffected.
Constructors
public ExplorationMapFunction();Properties
Decoration
public string Decoration { get; init; }The map decoration type marking the structure.
Destination
public string Destination { get; init; }The structure tag to search for.
SearchRadius
public int SearchRadius { get; init; }Search radius in chunks.
SkipExistingChunks
public bool SkipExistingChunks { get; init; }Skips structures that were already generated.
public int Zoom { get; init; }