Skip to content

Commit fb073c8

Browse files
committed
Add CAN_PICK_UP_LOOT key
1 parent 625a7ab commit fb073c8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • src/main/java/org/spongepowered/api/data

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,11 @@ public final class Keys {
672672
*/
673673
public static final Key<Value<Boolean>> CAN_MOVE_ON_LAND = Keys.key(ResourceKey.sponge("can_move_on_land"), Boolean.class);
674674

675+
/**
676+
* Whether a {@link Living} can pick up loot.
677+
*/
678+
public static final Key<Value<Boolean>> CAN_PICK_UP_LOOT = Keys.key(ResourceKey.sponge("can_pick_up_loot"), Boolean.class);
679+
675680
/**
676681
* Whether a {@link FallingBlock} will place itself upon landing.
677682
*/

0 commit comments

Comments
 (0)