Skip to main content

Target overlay

saturn:target_overlay

Provides a resource display context for the current target.

ResourceBar.context uses a string ID rather than an object with a type. Whether the context is actually drawn still depends on the host interface.

JSON fields​

This type uses a string ID directly and has no extra JSON fields.

JSON example​

"saturn:target_overlay"

This is a value to embed in the corresponding field, not a standalone loadable data pack file. The example: references in the examples must be replaced with defined entries.

Java entry point​

SaturnResourceBarContexts. This page is based on the Codec in the current 26.1.2 source.