File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
src/main/java/org/spongepowered/api/data Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -3372,6 +3372,15 @@ public final class Keys {
33723372 */
33733373 public static final Key <Value <ItemTier >> TOOL_TYPE = Keys .key (ResourceKey .sponge ("tool_type" ), ItemTier .class );
33743374
3375+ /**
3376+ * For a given {@link ResourceKey}, the textures for the tooltip of an {@link ItemStack} will be looked up from the following locations in the
3377+ * active resource packs:
3378+ *
3379+ * <p>Background: {@literal /assets/<namespace>/textures/gui/sprites/tooltip/<id>_background}
3380+ * <p>Frame: {@literal /assets/<namespace>/textures/gui/sprites/tooltip/<id>_frame}
3381+ */
3382+ public static final Key <Value <ResourceKey >> TOOLTIP_STYLE = Keys .key (ResourceKey .sponge ("tooltip_style" ), ResourceKey .class );
3383+
33753384 /**
33763385 * Whether a {@link CommandBlock} does track its output.
33773386 *
You can’t perform that action at this time.
0 commit comments