Skip to content

Commit 15e9b4d

Browse files
committed
chore: generate new api additions
Namely some small subtle changes: - FeatureFlag.WINTER_DROP is gone - CreakingHeart changed to a boolean state !breaking: Removed CreakingHeart as it's no longer applicable
1 parent 3e5a2ce commit 15e9b4d

File tree

17 files changed

+118
-204
lines changed

17 files changed

+118
-204
lines changed

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

Lines changed: 22 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
*/
2525
package org.spongepowered.api.block;
2626

27-
import org.jetbrains.annotations.ApiStatus;
2827
import org.spongepowered.api.ResourceKey;
2928
import org.spongepowered.api.Sponge;
3029
import org.spongepowered.api.registry.DefaultedRegistryReference;
@@ -33,7 +32,6 @@
3332
import org.spongepowered.api.registry.RegistryScope;
3433
import org.spongepowered.api.registry.RegistryScopes;
3534
import org.spongepowered.api.registry.RegistryTypes;
36-
import org.spongepowered.api.util.annotation.Experimental;
3735

3836
/**
3937
* <!-- This file is automatically generated. Any manual changes will be overwritten. -->
@@ -422,6 +420,8 @@ public final class BlockTypes {
422420

423421
public static final DefaultedRegistryReference<BlockType> CHISELED_RED_SANDSTONE = BlockTypes.key(ResourceKey.minecraft("chiseled_red_sandstone"));
424422

423+
public static final DefaultedRegistryReference<BlockType> CHISELED_RESIN_BRICKS = BlockTypes.key(ResourceKey.minecraft("chiseled_resin_bricks"));
424+
425425
public static final DefaultedRegistryReference<BlockType> CHISELED_SANDSTONE = BlockTypes.key(ResourceKey.minecraft("chiseled_sandstone"));
426426

427427
public static final DefaultedRegistryReference<BlockType> CHISELED_STONE_BRICKS = BlockTypes.key(ResourceKey.minecraft("chiseled_stone_bricks"));
@@ -436,6 +436,8 @@ public final class BlockTypes {
436436

437437
public static final DefaultedRegistryReference<BlockType> CLAY = BlockTypes.key(ResourceKey.minecraft("clay"));
438438

439+
public static final DefaultedRegistryReference<BlockType> CLOSED_EYEBLOSSOM = BlockTypes.key(ResourceKey.minecraft("closed_eyeblossom"));
440+
439441
public static final DefaultedRegistryReference<BlockType> COAL_BLOCK = BlockTypes.key(ResourceKey.minecraft("coal_block"));
440442

441443
public static final DefaultedRegistryReference<BlockType> COAL_ORE = BlockTypes.key(ResourceKey.minecraft("coal_ore"));
@@ -498,8 +500,6 @@ public final class BlockTypes {
498500

499501
public static final DefaultedRegistryReference<BlockType> CRAFTING_TABLE = BlockTypes.key(ResourceKey.minecraft("crafting_table"));
500502

501-
@Experimental("winter_drop")
502-
@ApiStatus.Experimental
503503
public static final DefaultedRegistryReference<BlockType> CREAKING_HEART = BlockTypes.key(ResourceKey.minecraft("creaking_heart"));
504504

505505
public static final DefaultedRegistryReference<BlockType> CREEPER_HEAD = BlockTypes.key(ResourceKey.minecraft("creeper_head"));
@@ -1288,6 +1288,8 @@ public final class BlockTypes {
12881288

12891289
public static final DefaultedRegistryReference<BlockType> OCHRE_FROGLIGHT = BlockTypes.key(ResourceKey.minecraft("ochre_froglight"));
12901290

1291+
public static final DefaultedRegistryReference<BlockType> OPEN_EYEBLOSSOM = BlockTypes.key(ResourceKey.minecraft("open_eyeblossom"));
1292+
12911293
public static final DefaultedRegistryReference<BlockType> ORANGE_BANNER = BlockTypes.key(ResourceKey.minecraft("orange_banner"));
12921294

12931295
public static final DefaultedRegistryReference<BlockType> ORANGE_BED = BlockTypes.key(ResourceKey.minecraft("orange_bed"));
@@ -1342,84 +1344,44 @@ public final class BlockTypes {
13421344

13431345
public static final DefaultedRegistryReference<BlockType> PACKED_MUD = BlockTypes.key(ResourceKey.minecraft("packed_mud"));
13441346

1345-
@Experimental("winter_drop")
1346-
@ApiStatus.Experimental
13471347
public static final DefaultedRegistryReference<BlockType> PALE_HANGING_MOSS = BlockTypes.key(ResourceKey.minecraft("pale_hanging_moss"));
13481348

1349-
@Experimental("winter_drop")
1350-
@ApiStatus.Experimental
13511349
public static final DefaultedRegistryReference<BlockType> PALE_MOSS_BLOCK = BlockTypes.key(ResourceKey.minecraft("pale_moss_block"));
13521350

1353-
@Experimental("winter_drop")
1354-
@ApiStatus.Experimental
13551351
public static final DefaultedRegistryReference<BlockType> PALE_MOSS_CARPET = BlockTypes.key(ResourceKey.minecraft("pale_moss_carpet"));
13561352

1357-
@Experimental("winter_drop")
1358-
@ApiStatus.Experimental
13591353
public static final DefaultedRegistryReference<BlockType> PALE_OAK_BUTTON = BlockTypes.key(ResourceKey.minecraft("pale_oak_button"));
13601354

1361-
@Experimental("winter_drop")
1362-
@ApiStatus.Experimental
13631355
public static final DefaultedRegistryReference<BlockType> PALE_OAK_DOOR = BlockTypes.key(ResourceKey.minecraft("pale_oak_door"));
13641356

1365-
@Experimental("winter_drop")
1366-
@ApiStatus.Experimental
13671357
public static final DefaultedRegistryReference<BlockType> PALE_OAK_FENCE = BlockTypes.key(ResourceKey.minecraft("pale_oak_fence"));
13681358

1369-
@Experimental("winter_drop")
1370-
@ApiStatus.Experimental
13711359
public static final DefaultedRegistryReference<BlockType> PALE_OAK_FENCE_GATE = BlockTypes.key(ResourceKey.minecraft("pale_oak_fence_gate"));
13721360

1373-
@Experimental("winter_drop")
1374-
@ApiStatus.Experimental
13751361
public static final DefaultedRegistryReference<BlockType> PALE_OAK_HANGING_SIGN = BlockTypes.key(ResourceKey.minecraft("pale_oak_hanging_sign"));
13761362

1377-
@Experimental("winter_drop")
1378-
@ApiStatus.Experimental
13791363
public static final DefaultedRegistryReference<BlockType> PALE_OAK_LEAVES = BlockTypes.key(ResourceKey.minecraft("pale_oak_leaves"));
13801364

1381-
@Experimental("winter_drop")
1382-
@ApiStatus.Experimental
13831365
public static final DefaultedRegistryReference<BlockType> PALE_OAK_LOG = BlockTypes.key(ResourceKey.minecraft("pale_oak_log"));
13841366

1385-
@Experimental("winter_drop")
1386-
@ApiStatus.Experimental
13871367
public static final DefaultedRegistryReference<BlockType> PALE_OAK_PLANKS = BlockTypes.key(ResourceKey.minecraft("pale_oak_planks"));
13881368

1389-
@Experimental("winter_drop")
1390-
@ApiStatus.Experimental
13911369
public static final DefaultedRegistryReference<BlockType> PALE_OAK_PRESSURE_PLATE = BlockTypes.key(ResourceKey.minecraft("pale_oak_pressure_plate"));
13921370

1393-
@Experimental("winter_drop")
1394-
@ApiStatus.Experimental
13951371
public static final DefaultedRegistryReference<BlockType> PALE_OAK_SAPLING = BlockTypes.key(ResourceKey.minecraft("pale_oak_sapling"));
13961372

1397-
@Experimental("winter_drop")
1398-
@ApiStatus.Experimental
13991373
public static final DefaultedRegistryReference<BlockType> PALE_OAK_SIGN = BlockTypes.key(ResourceKey.minecraft("pale_oak_sign"));
14001374

1401-
@Experimental("winter_drop")
1402-
@ApiStatus.Experimental
14031375
public static final DefaultedRegistryReference<BlockType> PALE_OAK_SLAB = BlockTypes.key(ResourceKey.minecraft("pale_oak_slab"));
14041376

1405-
@Experimental("winter_drop")
1406-
@ApiStatus.Experimental
14071377
public static final DefaultedRegistryReference<BlockType> PALE_OAK_STAIRS = BlockTypes.key(ResourceKey.minecraft("pale_oak_stairs"));
14081378

1409-
@Experimental("winter_drop")
1410-
@ApiStatus.Experimental
14111379
public static final DefaultedRegistryReference<BlockType> PALE_OAK_TRAPDOOR = BlockTypes.key(ResourceKey.minecraft("pale_oak_trapdoor"));
14121380

1413-
@Experimental("winter_drop")
1414-
@ApiStatus.Experimental
14151381
public static final DefaultedRegistryReference<BlockType> PALE_OAK_WALL_HANGING_SIGN = BlockTypes.key(ResourceKey.minecraft("pale_oak_wall_hanging_sign"));
14161382

1417-
@Experimental("winter_drop")
1418-
@ApiStatus.Experimental
14191383
public static final DefaultedRegistryReference<BlockType> PALE_OAK_WALL_SIGN = BlockTypes.key(ResourceKey.minecraft("pale_oak_wall_sign"));
14201384

1421-
@Experimental("winter_drop")
1422-
@ApiStatus.Experimental
14231385
public static final DefaultedRegistryReference<BlockType> PALE_OAK_WOOD = BlockTypes.key(ResourceKey.minecraft("pale_oak_wood"));
14241386

14251387
public static final DefaultedRegistryReference<BlockType> PEARLESCENT_FROGLIGHT = BlockTypes.key(ResourceKey.minecraft("pearlescent_froglight"));
@@ -1560,6 +1522,8 @@ public final class BlockTypes {
15601522

15611523
public static final DefaultedRegistryReference<BlockType> POTTED_CHERRY_SAPLING = BlockTypes.key(ResourceKey.minecraft("potted_cherry_sapling"));
15621524

1525+
public static final DefaultedRegistryReference<BlockType> POTTED_CLOSED_EYEBLOSSOM = BlockTypes.key(ResourceKey.minecraft("potted_closed_eyeblossom"));
1526+
15631527
public static final DefaultedRegistryReference<BlockType> POTTED_CORNFLOWER = BlockTypes.key(ResourceKey.minecraft("potted_cornflower"));
15641528

15651529
public static final DefaultedRegistryReference<BlockType> POTTED_CRIMSON_FUNGUS = BlockTypes.key(ResourceKey.minecraft("potted_crimson_fungus"));
@@ -1584,12 +1548,12 @@ public final class BlockTypes {
15841548

15851549
public static final DefaultedRegistryReference<BlockType> POTTED_OAK_SAPLING = BlockTypes.key(ResourceKey.minecraft("potted_oak_sapling"));
15861550

1551+
public static final DefaultedRegistryReference<BlockType> POTTED_OPEN_EYEBLOSSOM = BlockTypes.key(ResourceKey.minecraft("potted_open_eyeblossom"));
1552+
15871553
public static final DefaultedRegistryReference<BlockType> POTTED_ORANGE_TULIP = BlockTypes.key(ResourceKey.minecraft("potted_orange_tulip"));
15881554

15891555
public static final DefaultedRegistryReference<BlockType> POTTED_OXEYE_DAISY = BlockTypes.key(ResourceKey.minecraft("potted_oxeye_daisy"));
15901556

1591-
@Experimental("winter_drop")
1592-
@ApiStatus.Experimental
15931557
public static final DefaultedRegistryReference<BlockType> POTTED_PALE_OAK_SAPLING = BlockTypes.key(ResourceKey.minecraft("potted_pale_oak_sapling"));
15941558

15951559
public static final DefaultedRegistryReference<BlockType> POTTED_PINK_TULIP = BlockTypes.key(ResourceKey.minecraft("potted_pink_tulip"));
@@ -1760,6 +1724,18 @@ public final class BlockTypes {
17601724

17611725
public static final DefaultedRegistryReference<BlockType> REPEATING_COMMAND_BLOCK = BlockTypes.key(ResourceKey.minecraft("repeating_command_block"));
17621726

1727+
public static final DefaultedRegistryReference<BlockType> RESIN_BLOCK = BlockTypes.key(ResourceKey.minecraft("resin_block"));
1728+
1729+
public static final DefaultedRegistryReference<BlockType> RESIN_BRICKS = BlockTypes.key(ResourceKey.minecraft("resin_bricks"));
1730+
1731+
public static final DefaultedRegistryReference<BlockType> RESIN_BRICK_SLAB = BlockTypes.key(ResourceKey.minecraft("resin_brick_slab"));
1732+
1733+
public static final DefaultedRegistryReference<BlockType> RESIN_BRICK_STAIRS = BlockTypes.key(ResourceKey.minecraft("resin_brick_stairs"));
1734+
1735+
public static final DefaultedRegistryReference<BlockType> RESIN_BRICK_WALL = BlockTypes.key(ResourceKey.minecraft("resin_brick_wall"));
1736+
1737+
public static final DefaultedRegistryReference<BlockType> RESIN_CLUMP = BlockTypes.key(ResourceKey.minecraft("resin_clump"));
1738+
17631739
public static final DefaultedRegistryReference<BlockType> RESPAWN_ANCHOR = BlockTypes.key(ResourceKey.minecraft("respawn_anchor"));
17641740

17651741
public static final DefaultedRegistryReference<BlockType> ROOTED_DIRT = BlockTypes.key(ResourceKey.minecraft("rooted_dirt"));
@@ -1954,12 +1930,8 @@ public final class BlockTypes {
19541930

19551931
public static final DefaultedRegistryReference<BlockType> STRIPPED_OAK_WOOD = BlockTypes.key(ResourceKey.minecraft("stripped_oak_wood"));
19561932

1957-
@Experimental("winter_drop")
1958-
@ApiStatus.Experimental
19591933
public static final DefaultedRegistryReference<BlockType> STRIPPED_PALE_OAK_LOG = BlockTypes.key(ResourceKey.minecraft("stripped_pale_oak_log"));
19601934

1961-
@Experimental("winter_drop")
1962-
@ApiStatus.Experimental
19631935
public static final DefaultedRegistryReference<BlockType> STRIPPED_PALE_OAK_WOOD = BlockTypes.key(ResourceKey.minecraft("stripped_pale_oak_wood"));
19641936

19651937
public static final DefaultedRegistryReference<BlockType> STRIPPED_SPRUCE_LOG = BlockTypes.key(ResourceKey.minecraft("stripped_spruce_log"));

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
import org.spongepowered.api.data.type.BellAttachmentType;
3131
import org.spongepowered.api.data.type.ChestAttachmentType;
3232
import org.spongepowered.api.data.type.ComparatorMode;
33-
import org.spongepowered.api.data.type.CreakingHeart;
3433
import org.spongepowered.api.data.type.DoorHinge;
3534
import org.spongepowered.api.data.type.DripstoneSegment;
3635
import org.spongepowered.api.data.type.InstrumentType;
@@ -57,6 +56,8 @@
5756
@SuppressWarnings("unused")
5857
public final class BlockStateKeys {
5958

59+
public static final Key<Value<Boolean>> ACTIVE = BlockStateKeys.key(ResourceKey.minecraft("property/active"), Boolean.class);
60+
6061
public static final Key<Value<Integer>> AGE_1 = BlockStateKeys.key(ResourceKey.minecraft("property/age"), Integer.class);
6162

6263
public static final Key<Value<Integer>> AGE_15 = BlockStateKeys.key(ResourceKey.minecraft("property/age"), Integer.class);
@@ -117,8 +118,6 @@ public final class BlockStateKeys {
117118

118119
public static final Key<Value<Boolean>> CRAFTING = BlockStateKeys.key(ResourceKey.minecraft("property/crafting"), Boolean.class);
119120

120-
public static final Key<Value<CreakingHeart>> CREAKING = BlockStateKeys.key(ResourceKey.minecraft("property/creaking"), CreakingHeart.class);
121-
122121
public static final Key<Value<Integer>> DELAY = BlockStateKeys.key(ResourceKey.minecraft("property/delay"), Integer.class);
123122

124123
public static final Key<Value<Boolean>> DISARMED = BlockStateKeys.key(ResourceKey.minecraft("property/disarmed"), Boolean.class);
@@ -203,6 +202,8 @@ public final class BlockStateKeys {
203202

204203
public static final Key<Value<Integer>> MOISTURE = BlockStateKeys.key(ResourceKey.minecraft("property/moisture"), Integer.class);
205204

205+
public static final Key<Value<Boolean>> NATURAL = BlockStateKeys.key(ResourceKey.minecraft("property/natural"), Boolean.class);
206+
206207
public static final Key<Value<Boolean>> NORTH = BlockStateKeys.key(ResourceKey.minecraft("property/north"), Boolean.class);
207208

208209
public static final Key<Value<WireAttachmentType>> NORTH_REDSTONE = BlockStateKeys.key(ResourceKey.minecraft("property/north"), WireAttachmentType.class);

src/main/java/org/spongepowered/api/data/type/CreakingHeart.java

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

src/main/java/org/spongepowered/api/data/type/CreakingHearts.java

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

src/main/java/org/spongepowered/api/effect/particle/ParticleTypes.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@ public final class ParticleTypes {
188188

189189
public static final DefaultedRegistryReference<ParticleType> OMINOUS_SPAWNING = ParticleTypes.key(ResourceKey.minecraft("ominous_spawning"));
190190

191+
public static final DefaultedRegistryReference<ParticleType> PALE_OAK_LEAVES = ParticleTypes.key(ResourceKey.minecraft("pale_oak_leaves"));
192+
191193
public static final DefaultedRegistryReference<ParticleType> POOF = ParticleTypes.key(ResourceKey.minecraft("poof"));
192194

193195
public static final DefaultedRegistryReference<ParticleType> PORTAL = ParticleTypes.key(ResourceKey.minecraft("portal"));

0 commit comments

Comments
 (0)