Skip to content

Commit b121463

Browse files
committed
chore(minecraft): update to 25w33a
Notes: - Adding new entries, and renaming entries added in previous snapshots See: https://minecraft.wiki/w/Java_Edition_25w33a
1 parent 6252dce commit b121463

File tree

6 files changed

+56
-36
lines changed

6 files changed

+56
-36
lines changed

src/main/java/org/spongepowered/api/data/BlockStateKeys.java

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ public final class BlockStateKeys {
7676

7777
public static final Key<Value<Integer>> AGE_7 = BlockStateKeys.key(ResourceKey.minecraft("property/age"), Integer.class);
7878

79+
public static final Key<Value<Boolean>> ALIGN_ITEMS_TO_BOTTOM = BlockStateKeys.key(ResourceKey.minecraft("property/align_items_to_bottom"), Boolean.class);
80+
7981
public static final Key<Value<Boolean>> ATTACHED = BlockStateKeys.key(ResourceKey.minecraft("property/attached"), Boolean.class);
8082

8183
public static final Key<Value<AttachmentSurface>> ATTACH_FACE = BlockStateKeys.key(ResourceKey.minecraft("property/face"), AttachmentSurface.class);
@@ -102,18 +104,6 @@ public final class BlockStateKeys {
102104

103105
public static final Key<Value<ChestAttachmentType>> CHEST_TYPE = BlockStateKeys.key(ResourceKey.minecraft("property/type"), ChestAttachmentType.class);
104106

105-
public static final Key<Value<Boolean>> CHISELED_BOOKSHELF_SLOT_0_OCCUPIED = BlockStateKeys.key(ResourceKey.minecraft("property/slot_0_occupied"), Boolean.class);
106-
107-
public static final Key<Value<Boolean>> CHISELED_BOOKSHELF_SLOT_1_OCCUPIED = BlockStateKeys.key(ResourceKey.minecraft("property/slot_1_occupied"), Boolean.class);
108-
109-
public static final Key<Value<Boolean>> CHISELED_BOOKSHELF_SLOT_2_OCCUPIED = BlockStateKeys.key(ResourceKey.minecraft("property/slot_2_occupied"), Boolean.class);
110-
111-
public static final Key<Value<Boolean>> CHISELED_BOOKSHELF_SLOT_3_OCCUPIED = BlockStateKeys.key(ResourceKey.minecraft("property/slot_3_occupied"), Boolean.class);
112-
113-
public static final Key<Value<Boolean>> CHISELED_BOOKSHELF_SLOT_4_OCCUPIED = BlockStateKeys.key(ResourceKey.minecraft("property/slot_4_occupied"), Boolean.class);
114-
115-
public static final Key<Value<Boolean>> CHISELED_BOOKSHELF_SLOT_5_OCCUPIED = BlockStateKeys.key(ResourceKey.minecraft("property/slot_5_occupied"), Boolean.class);
116-
117107
public static final Key<Value<Boolean>> CONDITIONAL = BlockStateKeys.key(ResourceKey.minecraft("property/conditional"), Boolean.class);
118108

119109
public static final Key<Value<CopperGolemPose>> COPPER_GOLEM_POSE = BlockStateKeys.key(ResourceKey.minecraft("property/copper_golem_pose"), CopperGolemPose.class);
@@ -264,6 +254,18 @@ public final class BlockStateKeys {
264254

265255
public static final Key<Value<SlabPortion>> SLAB_TYPE = BlockStateKeys.key(ResourceKey.minecraft("property/type"), SlabPortion.class);
266256

257+
public static final Key<Value<Boolean>> SLOT_0_OCCUPIED = BlockStateKeys.key(ResourceKey.minecraft("property/slot_0_occupied"), Boolean.class);
258+
259+
public static final Key<Value<Boolean>> SLOT_1_OCCUPIED = BlockStateKeys.key(ResourceKey.minecraft("property/slot_1_occupied"), Boolean.class);
260+
261+
public static final Key<Value<Boolean>> SLOT_2_OCCUPIED = BlockStateKeys.key(ResourceKey.minecraft("property/slot_2_occupied"), Boolean.class);
262+
263+
public static final Key<Value<Boolean>> SLOT_3_OCCUPIED = BlockStateKeys.key(ResourceKey.minecraft("property/slot_3_occupied"), Boolean.class);
264+
265+
public static final Key<Value<Boolean>> SLOT_4_OCCUPIED = BlockStateKeys.key(ResourceKey.minecraft("property/slot_4_occupied"), Boolean.class);
266+
267+
public static final Key<Value<Boolean>> SLOT_5_OCCUPIED = BlockStateKeys.key(ResourceKey.minecraft("property/slot_5_occupied"), Boolean.class);
268+
267269
public static final Key<Value<Boolean>> SNOWY = BlockStateKeys.key(ResourceKey.minecraft("property/snowy"), Boolean.class);
268270

269271
public static final Key<Value<Boolean>> SOUTH = BlockStateKeys.key(ResourceKey.minecraft("property/south"), Boolean.class);

src/main/java/org/spongepowered/api/effect/sound/SoundTypes.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1906,6 +1906,8 @@ public final class SoundTypes {
19061906

19071907
public static final DefaultedRegistryReference<SoundType> ENTITY_COPPER_GOLEM_OXIDIZED_STEP = SoundTypes.key(ResourceKey.minecraft("entity.copper_golem_oxidized.step"));
19081908

1909+
public static final DefaultedRegistryReference<SoundType> ENTITY_COPPER_GOLEM_SHEAR = SoundTypes.key(ResourceKey.minecraft("entity.copper_golem.shear"));
1910+
19091911
public static final DefaultedRegistryReference<SoundType> ENTITY_COPPER_GOLEM_SPAWN = SoundTypes.key(ResourceKey.minecraft("entity.copper_golem.spawn"));
19101912

19111913
public static final DefaultedRegistryReference<SoundType> ENTITY_COPPER_GOLEM_SPIN = SoundTypes.key(ResourceKey.minecraft("entity.copper_golem.spin"));
@@ -3572,6 +3574,8 @@ public final class SoundTypes {
35723574

35733575
public static final DefaultedRegistryReference<SoundType> UI_TOAST_OUT = SoundTypes.key(ResourceKey.minecraft("ui.toast.out"));
35743576

3577+
public static final DefaultedRegistryReference<SoundType> WEATHER_END_FLASH = SoundTypes.key(ResourceKey.minecraft("weather.end_flash"));
3578+
35753579
public static final DefaultedRegistryReference<SoundType> WEATHER_RAIN = SoundTypes.key(ResourceKey.minecraft("weather.rain"));
35763580

35773581
public static final DefaultedRegistryReference<SoundType> WEATHER_RAIN_ABOVE = SoundTypes.key(ResourceKey.minecraft("weather.rain.above"));

src/main/java/org/spongepowered/api/entity/display/ItemDisplayTypes.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ public final class ItemDisplayTypes {
5454

5555
public static final DefaultedRegistryReference<ItemDisplayType> NONE = ItemDisplayTypes.key(ResourceKey.sponge("none"));
5656

57+
public static final DefaultedRegistryReference<ItemDisplayType> ON_SHELF = ItemDisplayTypes.key(ResourceKey.sponge("on_shelf"));
58+
5759
public static final DefaultedRegistryReference<ItemDisplayType> THIRDPERSON_LEFTHAND = ItemDisplayTypes.key(ResourceKey.sponge("thirdperson_lefthand"));
5860

5961
public static final DefaultedRegistryReference<ItemDisplayType> THIRDPERSON_RIGHTHAND = ItemDisplayTypes.key(ResourceKey.sponge("thirdperson_righthand"));

src/main/java/org/spongepowered/api/state/BooleanStateProperties.java

Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ public final class BooleanStateProperties {
3333
private BooleanStateProperties() {
3434
}
3535

36+
public static BooleanStateProperty property_ALIGN_ITEMS_TO_BOTTOM() {
37+
return BooleanStateProperty.of("ALIGN_ITEMS_TO_BOTTOM");
38+
}
39+
3640
public static BooleanStateProperty property_ATTACHED() {
3741
return BooleanStateProperty.of("ATTACHED");
3842
}
@@ -53,30 +57,6 @@ public static BooleanStateProperty property_CAN_SUMMON() {
5357
return BooleanStateProperty.of("CAN_SUMMON");
5458
}
5559

56-
public static BooleanStateProperty property_CHISELED_BOOKSHELF_SLOT_0_OCCUPIED() {
57-
return BooleanStateProperty.of("CHISELED_BOOKSHELF_SLOT_0_OCCUPIED");
58-
}
59-
60-
public static BooleanStateProperty property_CHISELED_BOOKSHELF_SLOT_1_OCCUPIED() {
61-
return BooleanStateProperty.of("CHISELED_BOOKSHELF_SLOT_1_OCCUPIED");
62-
}
63-
64-
public static BooleanStateProperty property_CHISELED_BOOKSHELF_SLOT_2_OCCUPIED() {
65-
return BooleanStateProperty.of("CHISELED_BOOKSHELF_SLOT_2_OCCUPIED");
66-
}
67-
68-
public static BooleanStateProperty property_CHISELED_BOOKSHELF_SLOT_3_OCCUPIED() {
69-
return BooleanStateProperty.of("CHISELED_BOOKSHELF_SLOT_3_OCCUPIED");
70-
}
71-
72-
public static BooleanStateProperty property_CHISELED_BOOKSHELF_SLOT_4_OCCUPIED() {
73-
return BooleanStateProperty.of("CHISELED_BOOKSHELF_SLOT_4_OCCUPIED");
74-
}
75-
76-
public static BooleanStateProperty property_CHISELED_BOOKSHELF_SLOT_5_OCCUPIED() {
77-
return BooleanStateProperty.of("CHISELED_BOOKSHELF_SLOT_5_OCCUPIED");
78-
}
79-
8060
public static BooleanStateProperty property_CONDITIONAL() {
8161
return BooleanStateProperty.of("CONDITIONAL");
8262
}
@@ -197,6 +177,30 @@ public static BooleanStateProperty property_SIGNAL_FIRE() {
197177
return BooleanStateProperty.of("SIGNAL_FIRE");
198178
}
199179

180+
public static BooleanStateProperty property_SLOT_0_OCCUPIED() {
181+
return BooleanStateProperty.of("SLOT_0_OCCUPIED");
182+
}
183+
184+
public static BooleanStateProperty property_SLOT_1_OCCUPIED() {
185+
return BooleanStateProperty.of("SLOT_1_OCCUPIED");
186+
}
187+
188+
public static BooleanStateProperty property_SLOT_2_OCCUPIED() {
189+
return BooleanStateProperty.of("SLOT_2_OCCUPIED");
190+
}
191+
192+
public static BooleanStateProperty property_SLOT_3_OCCUPIED() {
193+
return BooleanStateProperty.of("SLOT_3_OCCUPIED");
194+
}
195+
196+
public static BooleanStateProperty property_SLOT_4_OCCUPIED() {
197+
return BooleanStateProperty.of("SLOT_4_OCCUPIED");
198+
}
199+
200+
public static BooleanStateProperty property_SLOT_5_OCCUPIED() {
201+
return BooleanStateProperty.of("SLOT_5_OCCUPIED");
202+
}
203+
200204
public static BooleanStateProperty property_SNOWY() {
201205
return BooleanStateProperty.of("SNOWY");
202206
}

src/main/java/org/spongepowered/api/tag/EntityTypeTags.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
@RegistryScopes(scopes = RegistryScope.GAME)
3838
public final class EntityTypeTags {
3939

40+
public static final DefaultedTag<EntityType<?>> ACCEPTS_IRON_GOLEM_GIFT = EntityTypeTags.key(ResourceKey.minecraft("accepts_iron_golem_gift"));
41+
4042
public static final DefaultedTag<EntityType<?>> AQUATIC = EntityTypeTags.key(ResourceKey.minecraft("aquatic"));
4143

4244
public static final DefaultedTag<EntityType<?>> ARROWS = EntityTypeTags.key(ResourceKey.minecraft("arrows"));
@@ -61,6 +63,10 @@ public final class EntityTypeTags {
6163

6264
public static final DefaultedTag<EntityType<?>> CAN_WEAR_HORSE_ARMOR = EntityTypeTags.key(ResourceKey.minecraft("can_wear_horse_armor"));
6365

66+
public static final DefaultedTag<EntityType<?>> CANDIDATE_FOR_IRON_GOLEM_GIFT = EntityTypeTags.key(ResourceKey.minecraft("candidate_for_iron_golem_gift"));
67+
68+
public static final DefaultedTag<EntityType<?>> CANNOT_BE_PUSHED_ONTO_BOATS = EntityTypeTags.key(ResourceKey.minecraft("cannot_be_pushed_onto_boats"));
69+
6470
public static final DefaultedTag<EntityType<?>> DEFLECTS_PROJECTILES = EntityTypeTags.key(ResourceKey.minecraft("deflects_projectiles"));
6571

6672
public static final DefaultedTag<EntityType<?>> DISMOUNTS_UNDERWATER = EntityTypeTags.key(ResourceKey.minecraft("dismounts_underwater"));

src/main/java/org/spongepowered/api/tag/ItemTypeTags.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,8 @@ public final class ItemTypeTags {
329329

330330
public static final DefaultedTag<ItemType> SAPLINGS = ItemTypeTags.key(ResourceKey.minecraft("saplings"));
331331

332+
public static final DefaultedTag<ItemType> SHEARABLE_FROM_COPPER_GOLEM = ItemTypeTags.key(ResourceKey.minecraft("shearable_from_copper_golem"));
333+
332334
public static final DefaultedTag<ItemType> SHEEP_FOOD = ItemTypeTags.key(ResourceKey.minecraft("sheep_food"));
333335

334336
public static final DefaultedTag<ItemType> SHOVELS = ItemTypeTags.key(ResourceKey.minecraft("shovels"));

0 commit comments

Comments
 (0)