Skip to content

Commit c98f6df

Browse files
authored
Keys.TEXT_BACKGROUND_OPACITY (#2580)
1 parent df823f2 commit c98f6df

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

25042504
/**
2505-
* The opacity of a {@link TextDisplay}. 0 to 255
2505+
* The text opacity of a {@link TextDisplay}. 0 to 255
25062506
*/
25072507
public static final Key<Value<Byte>> OPACITY = Keys.key(ResourceKey.sponge("opacity"), Byte.class);
25082508

@@ -3234,6 +3234,11 @@ public final class Keys {
32343234
*/
32353235
public static final Key<Value<Color>> TEXT_BACKGROUND_COLOR = Keys.key(ResourceKey.sponge("text_background_color"), Color.class);
32363236

3237+
/**
3238+
* The background opacity of a {@link TextDisplay}. 0 to 255
3239+
*/
3240+
public static final Key<Value<Byte>> TEXT_BACKGROUND_OPACITY = Keys.key(ResourceKey.sponge("text_background_opacity"), Byte.class);
3241+
32373242
/**
32383243
* The remaining fuse time in ticks of a {@link FusedExplosive}.
32393244
* This value may be set to an arbitrary value

0 commit comments

Comments
 (0)