Skip to content

API reference Obsidian.API

StructureTypeAttribute class

Marks the class that implements a vanilla structure type (e.g. minecraft:jigsaw) or a type used inside structure data (placements, pool elements...), so the worldgen registries can be generated from vanilla's JSON.

public sealed class StructureTypeAttribute : Attribute

In Obsidian.API.

Constructors

StructureTypeAttribute(string)

public StructureTypeAttribute(string identifier);

Marks the class that implements a vanilla structure type (e.g. minecraft:jigsaw) or a type used inside structure data (placements, pool elements...), so the worldgen registries can be generated from vanilla's JSON.

Properties

public string Identifier { get; }

On this page