Skip to content

Commit 2d153e8

Browse files
committed
feat(minecraft)!: update content for 26.2-snapshot-3
Additions: - BlockTypes, ItemTypes (sulfur_spike) - BlockTypeTags (speleothems, sulfur_spike_replaceable_blocks) - Features, PlacedFeatures (sulfur_spike, sulfur_spike_cluster) Removals: - Bed block entity (BlockEntityTypes.BED, Bed interface) See: https://minecraft.wiki/w/Java_Edition_26.2_Snapshot_3
1 parent 972e9ee commit 2d153e8

8 files changed

Lines changed: 17 additions & 46 deletions

File tree

src/main/java/org/spongepowered/api/block/BlockTypes.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2074,6 +2074,8 @@ public final class BlockTypes {
20742074

20752075
public static final DefaultedRegistryReference<BlockType> SULFUR_SLAB = BlockTypes.key(ResourceKey.minecraft("sulfur_slab"));
20762076

2077+
public static final DefaultedRegistryReference<BlockType> SULFUR_SPIKE = BlockTypes.key(ResourceKey.minecraft("sulfur_spike"));
2078+
20772079
public static final DefaultedRegistryReference<BlockType> SULFUR_STAIRS = BlockTypes.key(ResourceKey.minecraft("sulfur_stairs"));
20782080

20792081
public static final DefaultedRegistryReference<BlockType> SULFUR_WALL = BlockTypes.key(ResourceKey.minecraft("sulfur_wall"));

src/main/java/org/spongepowered/api/block/entity/Bed.java

Lines changed: 0 additions & 42 deletions
This file was deleted.

src/main/java/org/spongepowered/api/block/entity/BlockEntityTypes.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ public final class BlockEntityTypes {
4646

4747
public static final DefaultedRegistryReference<BlockEntityType> BEACON = BlockEntityTypes.key(ResourceKey.minecraft("beacon"));
4848

49-
public static final DefaultedRegistryReference<BlockEntityType> BED = BlockEntityTypes.key(ResourceKey.minecraft("bed"));
50-
5149
public static final DefaultedRegistryReference<BlockEntityType> BEEHIVE = BlockEntityTypes.key(ResourceKey.minecraft("beehive"));
5250

5351
public static final DefaultedRegistryReference<BlockEntityType> BELL = BlockEntityTypes.key(ResourceKey.minecraft("bell"));

src/main/java/org/spongepowered/api/event/entity/living/player/RespawnPlayerEvent.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
*/
2525
package org.spongepowered.api.event.entity.living.player;
2626

27-
import org.spongepowered.api.block.entity.Bed;
2827
import org.spongepowered.api.block.entity.EndPortal;
2928
import org.spongepowered.api.entity.living.player.server.ServerPlayer;
3029
import org.spongepowered.api.event.entity.ChangeEntityWorldEvent;
@@ -74,7 +73,7 @@ interface Recreate extends RespawnPlayerEvent, ChangeEntityWorldEvent.Reposition
7473
ServerPlayer recreatedPlayer();
7574

7675
/**
77-
* Gets whether the position of spawn was set by a {@link Bed}.
76+
* Gets whether the position of spawn was set by a bed block.
7877
*
7978
* @return True if the position of spawn was due to a bed, false otherwise
8079
*/

src/main/java/org/spongepowered/api/item/ItemTypes.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2680,6 +2680,8 @@ public final class ItemTypes {
26802680

26812681
public static final DefaultedRegistryReference<ItemType> SULFUR_SLAB = ItemTypes.key(ResourceKey.minecraft("sulfur_slab"));
26822682

2683+
public static final DefaultedRegistryReference<ItemType> SULFUR_SPIKE = ItemTypes.key(ResourceKey.minecraft("sulfur_spike"));
2684+
26832685
public static final DefaultedRegistryReference<ItemType> SULFUR_STAIRS = ItemTypes.key(ResourceKey.minecraft("sulfur_stairs"));
26842686

26852687
public static final DefaultedRegistryReference<ItemType> SULFUR_WALL = ItemTypes.key(ResourceKey.minecraft("sulfur_wall"));

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,8 @@ public final class BlockTypeTags {
397397

398398
public static final DefaultedTag<BlockType> SOUL_SPEED_BLOCKS = BlockTypeTags.key(ResourceKey.minecraft("soul_speed_blocks"));
399399

400+
public static final DefaultedTag<BlockType> SPELEOTHEMS = BlockTypeTags.key(ResourceKey.minecraft("speleothems"));
401+
400402
public static final DefaultedTag<BlockType> SPRUCE_LOGS = BlockTypeTags.key(ResourceKey.minecraft("spruce_logs"));
401403

402404
public static final DefaultedTag<BlockType> STAIRS = BlockTypeTags.key(ResourceKey.minecraft("stairs"));
@@ -415,6 +417,8 @@ public final class BlockTypeTags {
415417

416418
public static final DefaultedTag<BlockType> SUBSTRATE_OVERWORLD = BlockTypeTags.key(ResourceKey.minecraft("substrate_overworld"));
417419

420+
public static final DefaultedTag<BlockType> SULFUR_SPIKE_REPLACEABLE_BLOCKS = BlockTypeTags.key(ResourceKey.minecraft("sulfur_spike_replaceable_blocks"));
421+
418422
public static final DefaultedTag<BlockType> SUPPORT_OVERRIDE_CACTUS_FLOWER = BlockTypeTags.key(ResourceKey.minecraft("support_override_cactus_flower"));
419423

420424
public static final DefaultedTag<BlockType> SUPPORT_OVERRIDE_SNOW_LAYER = BlockTypeTags.key(ResourceKey.minecraft("support_override_snow_layer"));

src/main/java/org/spongepowered/api/world/generation/feature/Features.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,10 @@ public final class Features {
416416

417417
public static final DefaultedRegistryReference<Feature> SULFUR_POOL = Features.key(ResourceKey.minecraft("sulfur_pool"));
418418

419+
public static final DefaultedRegistryReference<Feature> SULFUR_SPIKE = Features.key(ResourceKey.minecraft("sulfur_spike"));
420+
421+
public static final DefaultedRegistryReference<Feature> SULFUR_SPIKE_CLUSTER = Features.key(ResourceKey.minecraft("sulfur_spike_cluster"));
422+
419423
public static final DefaultedRegistryReference<Feature> SULFUR_SPRING = Features.key(ResourceKey.minecraft("sulfur_spring"));
420424

421425
public static final DefaultedRegistryReference<Feature> SUNFLOWER = Features.key(ResourceKey.minecraft("sunflower"));

src/main/java/org/spongepowered/api/world/generation/feature/PlacedFeatures.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,10 @@ public final class PlacedFeatures {
492492

493493
public static final DefaultedRegistryReference<PlacedFeature> SULFUR_POOL = PlacedFeatures.key(ResourceKey.minecraft("sulfur_pool"));
494494

495+
public static final DefaultedRegistryReference<PlacedFeature> SULFUR_SPIKE = PlacedFeatures.key(ResourceKey.minecraft("sulfur_spike"));
496+
497+
public static final DefaultedRegistryReference<PlacedFeature> SULFUR_SPIKE_CLUSTER = PlacedFeatures.key(ResourceKey.minecraft("sulfur_spike_cluster"));
498+
495499
public static final DefaultedRegistryReference<PlacedFeature> SUPER_BIRCH_BEES = PlacedFeatures.key(ResourceKey.minecraft("super_birch_bees"));
496500

497501
public static final DefaultedRegistryReference<PlacedFeature> SUPER_BIRCH_BEES_0002 = PlacedFeatures.key(ResourceKey.minecraft("super_birch_bees_0002"));

0 commit comments

Comments
 (0)