File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
src/main/java/org/spongepowered/api/data Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -3645,6 +3645,16 @@ public final class Keys {
36453645 */
36463646 public static final Key <Value <WorldTypeEffect >> WORLD_TYPE_EFFECT = Keys .key (ResourceKey .sponge ("world_type_effect" ), WorldTypeEffect .class );
36473647
3648+ /**
3649+ * The {@link #ITEM_DURABILITY} damage an {@link ItemStack} takes per attack.
3650+ */
3651+ public static final Key <Value <Integer >> WEAPON_DAMAGE_PER_ATTACK = Keys .key (ResourceKey .sponge ("weapon_damage_per_attack" ), Integer .class );
3652+
3653+ /**
3654+ * The amount of {@link Ticks} this {@link ItemStack} disables blocking for on successful attack.
3655+ */
3656+ public static final Key <Value <Ticks >> DISABLE_BLOCKING_TICKS = Keys .key (ResourceKey .sponge ("disable_blocking_ticks" ), Ticks .class );
3657+
36483658 // SORTFIELDS:OFF
36493659
36503660 // @formatter:on
You can’t perform that action at this time.
0 commit comments