Skip to content

Commit 06b124d

Browse files
committed
chore: update from upstream api-14
Signed-off-by: Gabriel Harris-Rouquette <[email protected]>
2 parents 19616ee + 586ec1a commit 06b124d

File tree

1 file changed

+6
-1
lines changed
  • src/main/java/org/spongepowered/api/data

1 file changed

+6
-1
lines changed

src/main/java/org/spongepowered/api/data/Keys.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2567,7 +2567,7 @@ public final class Keys {
25672567
public static final Key<Value<Boolean>> ON_GROUND = Keys.key(ResourceKey.sponge("on_ground"), Boolean.class);
25682568

25692569
/**
2570-
* The opacity of a {@link TextDisplay}. 0 to 255
2570+
* The text opacity of a {@link TextDisplay}. 0 to 255
25712571
*/
25722572
public static final Key<Value<Byte>> OPACITY = Keys.key(ResourceKey.sponge("opacity"), Byte.class);
25732573

@@ -3307,6 +3307,11 @@ public final class Keys {
33073307
*/
33083308
public static final Key<Value<Color>> TEXT_BACKGROUND_COLOR = Keys.key(ResourceKey.sponge("text_background_color"), Color.class);
33093309

3310+
/**
3311+
* The background opacity of a {@link TextDisplay}. 0 to 255
3312+
*/
3313+
public static final Key<Value<Byte>> TEXT_BACKGROUND_OPACITY = Keys.key(ResourceKey.sponge("text_background_opacity"), Byte.class);
3314+
33103315
/**
33113316
* The remaining fuse time in ticks of a {@link FusedExplosive}.
33123317
* This value may be set to an arbitrary value

0 commit comments

Comments
 (0)