Skip to content

Commit e65484f

Browse files
committed
Merge branch 'api-12' into api-13
2 parents daeaaab + c98f6df commit e65484f

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

25472547
/**
2548-
* The opacity of a {@link TextDisplay}. 0 to 255
2548+
* The text opacity of a {@link TextDisplay}. 0 to 255
25492549
*/
25502550
public static final Key<Value<Byte>> OPACITY = Keys.key(ResourceKey.sponge("opacity"), Byte.class);
25512551

@@ -3277,6 +3277,11 @@ public final class Keys {
32773277
*/
32783278
public static final Key<Value<Color>> TEXT_BACKGROUND_COLOR = Keys.key(ResourceKey.sponge("text_background_color"), Color.class);
32793279

3280+
/**
3281+
* The background opacity of a {@link TextDisplay}. 0 to 255
3282+
*/
3283+
public static final Key<Value<Byte>> TEXT_BACKGROUND_OPACITY = Keys.key(ResourceKey.sponge("text_background_opacity"), Byte.class);
3284+
32803285
/**
32813286
* The remaining fuse time in ticks of a {@link FusedExplosive}.
32823287
* This value may be set to an arbitrary value

0 commit comments

Comments
 (0)