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 @@ -3665,6 +3665,16 @@ public final class Keys {
36653665 */
36663666 public static final Key <Value <WorldTypeEffect >> WORLD_TYPE_EFFECT = Keys .key (ResourceKey .sponge ("world_type_effect" ), WorldTypeEffect .class );
36673667
3668+ /**
3669+ * The {@link #ITEM_DURABILITY} damage an {@link ItemStack} takes per attack.
3670+ */
3671+ public static final Key <Value <Integer >> WEAPON_DAMAGE_PER_ATTACK = Keys .key (ResourceKey .sponge ("weapon_damage_per_attack" ), Integer .class );
3672+
3673+ /**
3674+ * The amount of {@link Ticks} this {@link ItemStack} disables blocking for on successful attack.
3675+ */
3676+ public static final Key <Value <Ticks >> DISABLE_BLOCKING_TICKS = Keys .key (ResourceKey .sponge ("disable_blocking_ticks" ), Ticks .class );
3677+
36683678 // SORTFIELDS:OFF
36693679
36703680 // @formatter:on
You can’t perform that action at this time.
0 commit comments