File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/main/java/org/spongepowered/api/data Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -887,7 +887,6 @@ public final class Keys {
887887
888888 /**
889889 * The efficiency of an {@link ItemStack} tool. Affects mining speed of supported materials. {@link #CAN_HARVEST}
890- * Readonly
891890 */
892891 public static final Key <Value <Double >> EFFICIENCY = Keys .key (ResourceKey .sponge ("efficiency" ), Double .class );
893892
@@ -3115,6 +3114,11 @@ public final class Keys {
31153114 */
31163115 public static final Key <Value <Tilt >> TILT = Keys .key (ResourceKey .sponge ("tilt" ), Tilt .class );
31173116
3117+ /**
3118+ * The {@link #ITEM_DURABILITY} damage an {@link ItemStack} tool takes per block.
3119+ */
3120+ public static final Key <Value <Integer >> TOOL_DAMAGE_PER_BLOCK = Keys .key (ResourceKey .sponge ("tool_damage_per_block" ), Integer .class );
3121+
31183122 /**
31193123 * The {@link ItemTier} of an {@link ItemStack} tool.
31203124 * Readonly
You can’t perform that action at this time.
0 commit comments