Skip to content

Commit bdd66ef

Browse files
authored
Add Keys#HANGING for lanterns (SpongePowered#2438)
* Add Keys#HANGING for lanterns * Keys.HANGING -> Keys.IS_HANGING
1 parent 743a27f commit bdd66ef

File tree

1 file changed

+5
-0
lines changed
  • src/main/java/org/spongepowered/api/data

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1385,6 +1385,11 @@ public final class Keys {
13851385
*/
13861386
public static final Key<Value<Boolean>> IS_GRAVITY_AFFECTED = Keys.key(ResourceKey.sponge("is_gravity_affected"), Boolean.class);
13871387

1388+
/**
1389+
* Whether a lantern block is hanging.
1390+
*/
1391+
public static final Key<Value<Boolean>> IS_HANGING = Keys.key(ResourceKey.sponge("is_hanging"), Boolean.class);
1392+
13881393
/**
13891394
* Whether a {@link Cat} is hissing.
13901395
*/

0 commit comments

Comments
 (0)