ReadonlydataThe raw parsed JSON data of the asset file.
ReadonlydocstringsAll JSDoc-style comment blocks parsed from this asset's source file,
in document order. Empty array when no /** … */ blocks are present.
ReadonlyfileAbsolute path to the asset's file on disk. Empty string in browser mode.
ReadonlyidThe namespaced feature rule identifier, e.g. "tsu_nat:maple_tree_rule".
The resolved feature that this rule places.
undefined if the feature ID is not found in the addon.
The ID of the feature this rule places, from description.places_feature.
Use placesFeature for the resolved object.
Represents a feature rule definition from the behavior pack's
feature_rules/directory.Feature rules control where and when world generation features are placed in biomes.
Access via
addon.featureRules.get(id)or throughfeature.placedByFeatureRules.Example