Skip to content

Commit 586ec1a

Browse files
committed
Merge branch 'api-13' into api-14
2 parents f025aa3 + e65484f commit 586ec1a

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
@@ -2565,7 +2565,7 @@ public final class Keys {
25652565
public static final Key<Value<Boolean>> ON_GROUND = Keys.key(ResourceKey.sponge("on_ground"), Boolean.class);
25662566

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

@@ -3297,6 +3297,11 @@ public final class Keys {
32973297
*/
32983298
public static final Key<Value<Color>> TEXT_BACKGROUND_COLOR = Keys.key(ResourceKey.sponge("text_background_color"), Color.class);
32993299

3300+
/**
3301+
* The background opacity of a {@link TextDisplay}. 0 to 255
3302+
*/
3303+
public static final Key<Value<Byte>> TEXT_BACKGROUND_OPACITY = Keys.key(ResourceKey.sponge("text_background_opacity"), Byte.class);
3304+
33003305
/**
33013306
* The remaining fuse time in ticks of a {@link FusedExplosive}.
33023307
* This value may be set to an arbitrary value

0 commit comments

Comments
 (0)