API reference Obsidian.API.Loot
ExplorationMapRequest record
The parameters of a minecraft:exploration_map loot function.
public sealed record ExplorationMapRequest : IEquatable<ExplorationMapRequest>
In Obsidian.API.
Constructors
ExplorationMapRequest(string, VectorD, int, bool, int, string)
public ExplorationMapRequest(string Destination, VectorD Origin, int SearchRadius, bool SkipKnownStructures, int Zoom, string Decoration);The parameters of a minecraft:exploration_map loot function.
Parameters
Destination- The structure tag to search for, e.g.
minecraft:on_treasure_maps. Origin- Where the search starts: the loot's origin.
SearchRadius- How many rings of placement regions (or chunks) to search.
SkipKnownStructures- Skips structures another map already points to.
Zoom- The map scale, 0 to 4.
Decoration- The map decoration type marking the structure, e.g.
minecraft:red_x.
Properties
Decoration
public string Decoration { get; init; }The map decoration type marking the structure, e.g. minecraft:red_x.
Destination
public string Destination { get; init; }The structure tag to search for, e.g. minecraft:on_treasure_maps.
Origin
public VectorD Origin { get; init; }Where the search starts: the loot's origin.
SearchRadius
public int SearchRadius { get; init; }How many rings of placement regions (or chunks) to search.
SkipKnownStructures
public bool SkipKnownStructures { get; init; }Skips structures another map already points to.
Zoom
public int Zoom { get; init; }The map scale, 0 to 4.