Skip to content

Commit 1bc6085

Browse files
committed
Keys.FIRE_RESISTANT
1 parent cc4122e commit 1bc6085

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
@@ -1035,6 +1035,11 @@ public final class Keys {
10351035
*/
10361036
public static final Key<Value<Ticks>> FIRE_DAMAGE_DELAY = Keys.key(ResourceKey.sponge("fire_damage_delay"), Ticks.class);
10371037

1038+
/**
1039+
* Whether an {@link ItemStack} will burn in fire.
1040+
*/
1041+
public static final Key<Value<Boolean>> FIRE_RESISTANT = Keys.key(ResourceKey.sponge("fire_resistant"), Boolean.class);
1042+
10381043
/**
10391044
* The amount of ticks an {@link Entity} is still burning.
10401045
*/

0 commit comments

Comments
 (0)