Skip to content

Commit 455fdd7

Browse files
committed
Run generators
1 parent e76f08b commit 455fdd7

File tree

4 files changed

+130
-0
lines changed

4 files changed

+130
-0
lines changed

paper-api/src/generated/java/io/papermc/paper/registry/keys/DataComponentTypeKeys.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@
2525
@NullMarked
2626
@GeneratedClass
2727
public final class DataComponentTypeKeys {
28+
/**
29+
* {@code minecraft:attack_range}
30+
*
31+
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
32+
*/
33+
public static final TypedKey<DataComponentType> ATTACK_RANGE = create(key("attack_range"));
34+
2835
/**
2936
* {@code minecraft:attribute_modifiers}
3037
*

paper-api/src/generated/java/io/papermc/paper/registry/keys/SoundEventKeys.java

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6038,13 +6038,27 @@ public final class SoundEventKeys {
60386038
*/
60396039
public static final TypedKey<Sound> ENTITY_BABY_NAUTILUS_AMBIENT = create(key("entity.baby_nautilus.ambient"));
60406040

6041+
/**
6042+
* {@code minecraft:entity.baby_nautilus.ambient_land}
6043+
*
6044+
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
6045+
*/
6046+
public static final TypedKey<Sound> ENTITY_BABY_NAUTILUS_AMBIENT_LAND = create(key("entity.baby_nautilus.ambient_land"));
6047+
60416048
/**
60426049
* {@code minecraft:entity.baby_nautilus.death}
60436050
*
60446051
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
60456052
*/
60466053
public static final TypedKey<Sound> ENTITY_BABY_NAUTILUS_DEATH = create(key("entity.baby_nautilus.death"));
60476054

6055+
/**
6056+
* {@code minecraft:entity.baby_nautilus.death_land}
6057+
*
6058+
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
6059+
*/
6060+
public static final TypedKey<Sound> ENTITY_BABY_NAUTILUS_DEATH_LAND = create(key("entity.baby_nautilus.death_land"));
6061+
60486062
/**
60496063
* {@code minecraft:entity.baby_nautilus.eat}
60506064
*
@@ -6059,6 +6073,13 @@ public final class SoundEventKeys {
60596073
*/
60606074
public static final TypedKey<Sound> ENTITY_BABY_NAUTILUS_HURT = create(key("entity.baby_nautilus.hurt"));
60616075

6076+
/**
6077+
* {@code minecraft:entity.baby_nautilus.hurt_land}
6078+
*
6079+
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
6080+
*/
6081+
public static final TypedKey<Sound> ENTITY_BABY_NAUTILUS_HURT_LAND = create(key("entity.baby_nautilus.hurt_land"));
6082+
60626083
/**
60636084
* {@code minecraft:entity.baby_nautilus.swim}
60646085
*
@@ -8600,27 +8621,55 @@ public final class SoundEventKeys {
86008621
*/
86018622
public static final TypedKey<Sound> ENTITY_NAUTILUS_AMBIENT = create(key("entity.nautilus.ambient"));
86028623

8624+
/**
8625+
* {@code minecraft:entity.nautilus.ambient_land}
8626+
*
8627+
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
8628+
*/
8629+
public static final TypedKey<Sound> ENTITY_NAUTILUS_AMBIENT_LAND = create(key("entity.nautilus.ambient_land"));
8630+
86038631
/**
86048632
* {@code minecraft:entity.nautilus.dash}
86058633
*
86068634
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
86078635
*/
86088636
public static final TypedKey<Sound> ENTITY_NAUTILUS_DASH = create(key("entity.nautilus.dash"));
86098637

8638+
/**
8639+
* {@code minecraft:entity.nautilus.dash_land}
8640+
*
8641+
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
8642+
*/
8643+
public static final TypedKey<Sound> ENTITY_NAUTILUS_DASH_LAND = create(key("entity.nautilus.dash_land"));
8644+
86108645
/**
86118646
* {@code minecraft:entity.nautilus.dash_ready}
86128647
*
86138648
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
86148649
*/
86158650
public static final TypedKey<Sound> ENTITY_NAUTILUS_DASH_READY = create(key("entity.nautilus.dash_ready"));
86168651

8652+
/**
8653+
* {@code minecraft:entity.nautilus.dash_ready_land}
8654+
*
8655+
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
8656+
*/
8657+
public static final TypedKey<Sound> ENTITY_NAUTILUS_DASH_READY_LAND = create(key("entity.nautilus.dash_ready_land"));
8658+
86178659
/**
86188660
* {@code minecraft:entity.nautilus.death}
86198661
*
86208662
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
86218663
*/
86228664
public static final TypedKey<Sound> ENTITY_NAUTILUS_DEATH = create(key("entity.nautilus.death"));
86238665

8666+
/**
8667+
* {@code minecraft:entity.nautilus.death_land}
8668+
*
8669+
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
8670+
*/
8671+
public static final TypedKey<Sound> ENTITY_NAUTILUS_DEATH_LAND = create(key("entity.nautilus.death_land"));
8672+
86248673
/**
86258674
* {@code minecraft:entity.nautilus.eat}
86268675
*
@@ -8635,6 +8684,13 @@ public final class SoundEventKeys {
86358684
*/
86368685
public static final TypedKey<Sound> ENTITY_NAUTILUS_HURT = create(key("entity.nautilus.hurt"));
86378686

8687+
/**
8688+
* {@code minecraft:entity.nautilus.hurt_land}
8689+
*
8690+
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
8691+
*/
8692+
public static final TypedKey<Sound> ENTITY_NAUTILUS_HURT_LAND = create(key("entity.nautilus.hurt_land"));
8693+
86388694
/**
86398695
* {@code minecraft:entity.nautilus.riding}
86408696
*
@@ -11400,27 +11456,55 @@ public final class SoundEventKeys {
1140011456
*/
1140111457
public static final TypedKey<Sound> ENTITY_ZOMBIE_NAUTILUS_AMBIENT = create(key("entity.zombie_nautilus.ambient"));
1140211458

11459+
/**
11460+
* {@code minecraft:entity.zombie_nautilus.ambient_land}
11461+
*
11462+
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
11463+
*/
11464+
public static final TypedKey<Sound> ENTITY_ZOMBIE_NAUTILUS_AMBIENT_LAND = create(key("entity.zombie_nautilus.ambient_land"));
11465+
1140311466
/**
1140411467
* {@code minecraft:entity.zombie_nautilus.dash}
1140511468
*
1140611469
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
1140711470
*/
1140811471
public static final TypedKey<Sound> ENTITY_ZOMBIE_NAUTILUS_DASH = create(key("entity.zombie_nautilus.dash"));
1140911472

11473+
/**
11474+
* {@code minecraft:entity.zombie_nautilus.dash_land}
11475+
*
11476+
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
11477+
*/
11478+
public static final TypedKey<Sound> ENTITY_ZOMBIE_NAUTILUS_DASH_LAND = create(key("entity.zombie_nautilus.dash_land"));
11479+
1141011480
/**
1141111481
* {@code minecraft:entity.zombie_nautilus.dash_ready}
1141211482
*
1141311483
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
1141411484
*/
1141511485
public static final TypedKey<Sound> ENTITY_ZOMBIE_NAUTILUS_DASH_READY = create(key("entity.zombie_nautilus.dash_ready"));
1141611486

11487+
/**
11488+
* {@code minecraft:entity.zombie_nautilus.dash_ready_land}
11489+
*
11490+
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
11491+
*/
11492+
public static final TypedKey<Sound> ENTITY_ZOMBIE_NAUTILUS_DASH_READY_LAND = create(key("entity.zombie_nautilus.dash_ready_land"));
11493+
1141711494
/**
1141811495
* {@code minecraft:entity.zombie_nautilus.death}
1141911496
*
1142011497
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
1142111498
*/
1142211499
public static final TypedKey<Sound> ENTITY_ZOMBIE_NAUTILUS_DEATH = create(key("entity.zombie_nautilus.death"));
1142311500

11501+
/**
11502+
* {@code minecraft:entity.zombie_nautilus.death_land}
11503+
*
11504+
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
11505+
*/
11506+
public static final TypedKey<Sound> ENTITY_ZOMBIE_NAUTILUS_DEATH_LAND = create(key("entity.zombie_nautilus.death_land"));
11507+
1142411508
/**
1142511509
* {@code minecraft:entity.zombie_nautilus.eat}
1142611510
*
@@ -11435,6 +11519,13 @@ public final class SoundEventKeys {
1143511519
*/
1143611520
public static final TypedKey<Sound> ENTITY_ZOMBIE_NAUTILUS_HURT = create(key("entity.zombie_nautilus.hurt"));
1143711521

11522+
/**
11523+
* {@code minecraft:entity.zombie_nautilus.hurt_land}
11524+
*
11525+
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
11526+
*/
11527+
public static final TypedKey<Sound> ENTITY_ZOMBIE_NAUTILUS_HURT_LAND = create(key("entity.zombie_nautilus.hurt_land"));
11528+
1143811529
/**
1143911530
* {@code minecraft:entity.zombie_nautilus.swim}
1144011531
*

paper-api/src/main/java/org/bukkit/Sound.java

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1741,12 +1741,18 @@ public interface Sound extends OldEnum<Sound>, Keyed, net.kyori.adventure.sound.
17411741

17421742
Sound ENTITY_BABY_NAUTILUS_AMBIENT = getSound("entity.baby_nautilus.ambient");
17431743

1744+
Sound ENTITY_BABY_NAUTILUS_AMBIENT_LAND = getSound("entity.baby_nautilus.ambient_land");
1745+
17441746
Sound ENTITY_BABY_NAUTILUS_DEATH = getSound("entity.baby_nautilus.death");
17451747

1748+
Sound ENTITY_BABY_NAUTILUS_DEATH_LAND = getSound("entity.baby_nautilus.death_land");
1749+
17461750
Sound ENTITY_BABY_NAUTILUS_EAT = getSound("entity.baby_nautilus.eat");
17471751

17481752
Sound ENTITY_BABY_NAUTILUS_HURT = getSound("entity.baby_nautilus.hurt");
17491753

1754+
Sound ENTITY_BABY_NAUTILUS_HURT_LAND = getSound("entity.baby_nautilus.hurt_land");
1755+
17501756
Sound ENTITY_BABY_NAUTILUS_SWIM = getSound("entity.baby_nautilus.swim");
17511757

17521758
Sound ENTITY_BAT_AMBIENT = getSound("entity.bat.ambient");
@@ -2473,16 +2479,26 @@ public interface Sound extends OldEnum<Sound>, Keyed, net.kyori.adventure.sound.
24732479

24742480
Sound ENTITY_NAUTILUS_AMBIENT = getSound("entity.nautilus.ambient");
24752481

2482+
Sound ENTITY_NAUTILUS_AMBIENT_LAND = getSound("entity.nautilus.ambient_land");
2483+
24762484
Sound ENTITY_NAUTILUS_DASH = getSound("entity.nautilus.dash");
24772485

2486+
Sound ENTITY_NAUTILUS_DASH_LAND = getSound("entity.nautilus.dash_land");
2487+
24782488
Sound ENTITY_NAUTILUS_DASH_READY = getSound("entity.nautilus.dash_ready");
24792489

2490+
Sound ENTITY_NAUTILUS_DASH_READY_LAND = getSound("entity.nautilus.dash_ready_land");
2491+
24802492
Sound ENTITY_NAUTILUS_DEATH = getSound("entity.nautilus.death");
24812493

2494+
Sound ENTITY_NAUTILUS_DEATH_LAND = getSound("entity.nautilus.death_land");
2495+
24822496
Sound ENTITY_NAUTILUS_EAT = getSound("entity.nautilus.eat");
24832497

24842498
Sound ENTITY_NAUTILUS_HURT = getSound("entity.nautilus.hurt");
24852499

2500+
Sound ENTITY_NAUTILUS_HURT_LAND = getSound("entity.nautilus.hurt_land");
2501+
24862502
Sound ENTITY_NAUTILUS_RIDING = getSound("entity.nautilus.riding");
24872503

24882504
Sound ENTITY_NAUTILUS_SWIM = getSound("entity.nautilus.swim");
@@ -3273,16 +3289,26 @@ public interface Sound extends OldEnum<Sound>, Keyed, net.kyori.adventure.sound.
32733289

32743290
Sound ENTITY_ZOMBIE_NAUTILUS_AMBIENT = getSound("entity.zombie_nautilus.ambient");
32753291

3292+
Sound ENTITY_ZOMBIE_NAUTILUS_AMBIENT_LAND = getSound("entity.zombie_nautilus.ambient_land");
3293+
32763294
Sound ENTITY_ZOMBIE_NAUTILUS_DASH = getSound("entity.zombie_nautilus.dash");
32773295

3296+
Sound ENTITY_ZOMBIE_NAUTILUS_DASH_LAND = getSound("entity.zombie_nautilus.dash_land");
3297+
32783298
Sound ENTITY_ZOMBIE_NAUTILUS_DASH_READY = getSound("entity.zombie_nautilus.dash_ready");
32793299

3300+
Sound ENTITY_ZOMBIE_NAUTILUS_DASH_READY_LAND = getSound("entity.zombie_nautilus.dash_ready_land");
3301+
32803302
Sound ENTITY_ZOMBIE_NAUTILUS_DEATH = getSound("entity.zombie_nautilus.death");
32813303

3304+
Sound ENTITY_ZOMBIE_NAUTILUS_DEATH_LAND = getSound("entity.zombie_nautilus.death_land");
3305+
32823306
Sound ENTITY_ZOMBIE_NAUTILUS_EAT = getSound("entity.zombie_nautilus.eat");
32833307

32843308
Sound ENTITY_ZOMBIE_NAUTILUS_HURT = getSound("entity.zombie_nautilus.hurt");
32853309

3310+
Sound ENTITY_ZOMBIE_NAUTILUS_HURT_LAND = getSound("entity.zombie_nautilus.hurt_land");
3311+
32863312
Sound ENTITY_ZOMBIE_NAUTILUS_SWIM = getSound("entity.zombie_nautilus.swim");
32873313

32883314
Sound ENTITY_ZOMBIE_VILLAGER_AMBIENT = getSound("entity.zombie_villager.ambient");

paper-api/src/main/java/org/bukkit/entity/memory/MemoryKey.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@ public Class<T> getMemoryClass() {
121121

122122
public static final MemoryKey<Boolean> SNIFFER_HAPPY = new MemoryKey<>(NamespacedKey.minecraft("sniffer_happy"), Boolean.class);
123123

124+
public static final MemoryKey<Integer> SPEAR_ENGAGE_TIME = new MemoryKey<>(NamespacedKey.minecraft("spear_engage_time"), Integer.class);
125+
126+
public static final MemoryKey<Integer> SPEAR_FLEEING_TIME = new MemoryKey<>(NamespacedKey.minecraft("spear_fleeing_time"), Integer.class);
127+
128+
// public static final MemoryKey<SpearAttack.SpearStatus> SPEAR_STATUS = new MemoryKey<>(NamespacedKey.minecraft("spear_status"), SpearStatus.class); // TODO - snapshot: SpearStatus API
129+
124130
public static final MemoryKey<Integer> TEMPTATION_COOLDOWN_TICKS = new MemoryKey<>(NamespacedKey.minecraft("temptation_cooldown_ticks"), Integer.class);
125131

126132
public static final MemoryKey<Integer> TIME_TRYING_TO_REACH_ADMIRE_ITEM = new MemoryKey<>(NamespacedKey.minecraft("time_trying_to_reach_admire_item"), Integer.class);

0 commit comments

Comments
 (0)