Skip to content

Commit ec252b4

Browse files
authored
Add ATTACK_RANGE for DataComponentTypes (#13331)
1 parent 455fdd7 commit ec252b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

paper-api/src/main/java/io/papermc/paper/datacomponent/DataComponentTypes.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package io.papermc.paper.datacomponent;
22

3+
import io.papermc.paper.datacomponent.item.AttackRange;
34
import io.papermc.paper.datacomponent.item.BannerPatternLayers;
45
import io.papermc.paper.datacomponent.item.BlockItemDataProperties;
56
import io.papermc.paper.datacomponent.item.BlocksAttacks;
@@ -222,6 +223,7 @@ public final class DataComponentTypes {
222223
public static final DataComponentType.Valued<BlocksAttacks> BLOCKS_ATTACKS = valued("blocks_attacks");
223224
public static final DataComponentType.Valued<PiercingWeapon> PIERCING_WEAPON = valued("piercing_weapon");
224225
public static final DataComponentType.Valued<KineticWeapon> KINETIC_WEAPON = valued("kinetic_weapon");
226+
public static final DataComponentType.Valued<AttackRange> ATTACK_RANGE = valued("attack_range");
225227
public static final DataComponentType.Valued<SwingAnimation> SWING_ANIMATION = valued("swing_animation");
226228
/**
227229
* Stores list of enchantments and their levels for an Enchanted Book.

0 commit comments

Comments
 (0)