Skip to content

Commit c513b4c

Browse files
committed
✨ 26.1 snapshot 6 changes
1 parent adde57d commit c513b4c

File tree

3 files changed

+34
-5
lines changed

3 files changed

+34
-5
lines changed

java/data/worldgen/dimension/mod.mcdoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ dispatch minecraft:resource[dimension_type] to struct DimensionType {
4545
has_skylight: boolean,
4646
/// Affects the weather, map items and respawning rules.
4747
has_ceiling: boolean,
48+
#[since="26.1"]
49+
has_ender_dragon_fight: boolean,
4850
#[until="1.16.2"]
4951
shrunk: boolean,
5052
#[since="1.16.2"]

java/data/worldgen/feature/mod.mcdoc

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,12 @@ dispatch minecraft:feature_config[disk,ice_patch] to struct DiskConfig {
9595
}
9696

9797
struct RuleBasedBlockStateProvider {
98-
fallback: BlockStateProvider,
98+
#[until="26.1"] ... struct {
99+
fallback: BlockStateProvider,
100+
},
101+
#[since="26.1"] ... struct {
102+
fallback?: BlockStateProvider,
103+
},
99104
rules: [struct BlockStateRuleProviderEntry {
100105
if_true: BlockPredicate,
101106
then: BlockStateProvider,
@@ -204,6 +209,13 @@ dispatch minecraft:block_placer[column_placer] to struct ColumnPlacer {
204209
size: IntProvider<int @ 0..>,
205210
}
206211

212+
#[since="26.1"]
213+
dispatch minecraft:feature_config[block_blob] to struct BlockBlobConfig {
214+
state: BlockState,
215+
can_place_on: BlockPredicate,
216+
}
217+
218+
#[until="26.1"]
207219
dispatch minecraft:feature_config[forest_rock] to struct ForestRockConfig {
208220
state: BlockState,
209221
}
@@ -308,6 +320,8 @@ dispatch minecraft:feature_config[huge_brown_mushroom,huge_red_mushroom] to stru
308320
cap_provider: BlockStateProvider,
309321
stem_provider: BlockStateProvider,
310322
foliage_radius: int,
323+
#[since="26.1"]
324+
can_place_on: BlockPredicate,
311325
}
312326

313327
dispatch minecraft:feature_config[huge_fungus] to struct HugeFungusConfig {
@@ -483,6 +497,13 @@ dispatch minecraft:feature_config[small_dripstone] to struct SmallDripstoneConfi
483497
chance_of_taller_dripstone?: float @ 0..1,
484498
}
485499

500+
#[since="26.1"]
501+
dispatch minecraft:feature_config[spike] to struct SpikeConfig {
502+
state: BlockState,
503+
can_place_on: BlockPredicate,
504+
can_replace: BlockPredicate,
505+
}
506+
486507
dispatch minecraft:feature_config[spring_feature] to struct SpringConfig {
487508
state: FluidState,
488509
rock_count: int,

java/data/worldgen/feature/tree.mcdoc

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
use super::super::HeightmapType
22
use super::super::UniformInt
33
use super::block_state_provider::BlockStateProvider
4+
use super::RuleBasedBlockStateProvider
45
use super::super::IntProvider
56
use super::super::UniformIntProvider
67
use ::java::util::direction::Direction
@@ -11,11 +12,13 @@ dispatch minecraft:feature_config[tree] to struct TreeConfig {
1112
ignore_vines?: boolean,
1213
#[until="1.17"]
1314
heightmap: HeightmapType,
14-
#[since="1.17"]
15-
force_dirt?: boolean,
1615
minimum_size: FeatureSize,
17-
#[since="1.17"]
16+
#[since="1.17"] #[until="26.1"]
17+
force_dirt?: boolean,
18+
#[since="1.17"] #[until="26.1"]
1819
dirt_provider: BlockStateProvider,
20+
#[since="26.1"]
21+
below_trunk_provider: RuleBasedBlockStateProvider,
1922
#[since="1.17"] #[until="1.18"]
2023
sapling_provider: BlockStateProvider,
2124
trunk_provider: BlockStateProvider,
@@ -198,7 +201,10 @@ struct TreeDecorator {
198201
}
199202

200203
dispatch minecraft:tree_decorator[alter_ground] to struct AlterGroundTreeDecorator {
201-
provider: BlockStateProvider,
204+
provider: (
205+
#[until="26.1"] BlockStateProvider |
206+
#[since="26.1"] RuleBasedBlockStateProvider |
207+
),
202208
}
203209

204210
dispatch minecraft:tree_decorator[attached_to_leaves] to struct AttachedToLeavesTreeDecorator {

0 commit comments

Comments
 (0)