Commit 26199b1
committed
feat(minecraft): update to 26.3-snapshot-1
Mojang collapsed the type/configuration split in worldgen: the "configured"
instances are now the data pack registries themselves, dispatched by codec-only
*_TYPE registries. The same reshaping hit surface rules and structure placement.
CHANGED:
- ConfiguredFeature removed; FeatureMixin_API rewritten as an interface mixin on
vanilla Feature, which now carries its own configuration and codec. PlacedFeature,
jigsaw pool elements, the bonus chest and the dragon gateway tracker redirect are
re-typed to Holder<Feature>
- worldgen/configured_feature is now worldgen/feature, and worldgen/feature_type
holds the bare codecs — the old name no longer means the type registry
- StructurePlacement is an interface; StructurePlacementMixin_API converted
- Surface rules are data pack driven: SpongeSurfaceRulesFactory resolves out of
MATERIAL_RULE/MATERIAL_CONDITION and NoiseGeneratorSettings exposes
materialRule as Holder<RuleSource>
- Pack resources reshaped: AbstractPackResources split into
AbstractPackMetadataResources, ResourcesSupplier opens metadata and a stream of
resources, and Pack#open returns Stream<PackResources>
- Block ticks use setBlockAndUpdate over setBlock; Fire and Leaves injections
retargeted accordingly
- FarmlandBlock#turnToDirt is now the instance method turnToBaseBlock, and
TntBlock#prime takes the igniting ItemStack
- PotDecorations hold ItemStackTemplate, with sherds validated by the
decorated_pot_sherds item tag
- Renames: Entity#hurtMarked to the public syncVelocity field,
BlockState#blocksMotion to the blocks_motion tag,
ItemContainerContents#allItemsCopyStream to itemCopies,
ChunkMap#getStorageName to storageInfo().level(), and
ResourceManager#listResources from Predicate to Selector
- generator emits Features from FEATURE and FeatureTypes from FEATURE_TYPE
REMOVED:
- ConfiguredFeatureMixin_API
ADDITION:
- SpongeFeatureType backing the codec-only feature_type entries, resolved lazily
because early registry setup runs before BuiltInRegistries is frozen
- OverworldMaterialRulesAccessor exposing createOverworldLike and the private
SURFACE/UNDERGROUND keys, so overworldLike delegates rather than reimplements
FIXED:
- BiomeData and the noise config builder no longer dereference holders that are
still unbound while data pack registries load
- Feature.Builder#build round-trips through the codec so it yields a distinct
instance; registries reject an already-registered value by identity
See: https://minecraft.wiki/w/Java_Edition_26.3_Snapshot_11 parent eafcbad commit 26199b1
39 files changed
Lines changed: 323 additions & 223 deletions
File tree
- forge/src/mixins/java/org/spongepowered/forge/mixin/core/resources
- generator/src/main/java/org/spongepowered/vanilla/generator/world/level
- neoforge/src/mixins/java/org/spongepowered/neoforge/mixin/core/resources
- src
- accessors
- java/org/spongepowered/common/accessor/data/worldgen/material
- resources
- main/java/org/spongepowered/common
- data/provider
- block
- entity
- state
- entity
- item/stack
- world/biome
- event/tracking/phase/generation
- registry/loader
- world
- generation
- config/noise
- feature
- structure
- server
- mixins
- java/org/spongepowered/common/mixin
- api/minecraft
- server/packs
- repository
- resources
- world/level/levelgen
- feature
- placement
- structure
- core
- server
- world/level/block
- tracker/world/level
- block
- dimension/end
- resources
- vanilla/src
- main/java/org/spongepowered/vanilla/server/packs
- mixins/java/org/spongepowered/vanilla/mixin/core
- resources
- world/level/block
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
167 | | - | |
| 166 | + | |
| 167 | + | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
Lines changed: 53 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
Lines changed: 17 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
29 | 28 | | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
41 | | - | |
42 | 40 | | |
43 | | - | |
44 | 41 | | |
45 | 42 | | |
46 | 43 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | 44 | | |
55 | 45 | | |
56 | 46 | | |
57 | 47 | | |
58 | | - | |
| 48 | + | |
59 | 49 | | |
60 | 50 | | |
61 | | - | |
| 51 | + | |
62 | 52 | | |
63 | 53 | | |
64 | | - | |
| 54 | + | |
65 | 55 | | |
66 | 56 | | |
67 | | - | |
| 57 | + | |
68 | 58 | | |
69 | 59 | | |
70 | 60 | | |
71 | 61 | | |
72 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
73 | 67 | | |
74 | 68 | | |
75 | 69 | | |
| |||
78 | 72 | | |
79 | 73 | | |
80 | 74 | | |
81 | | - | |
82 | | - | |
| 75 | + | |
| 76 | + | |
83 | 77 | | |
84 | 78 | | |
85 | 79 | | |
86 | | - | |
| 80 | + | |
87 | 81 | | |
88 | 82 | | |
89 | 83 | | |
| |||
97 | 91 | | |
98 | 92 | | |
99 | 93 | | |
100 | | - | |
| 94 | + | |
101 | 95 | | |
102 | 96 | | |
103 | 97 | | |
104 | 98 | | |
105 | 99 | | |
106 | 100 | | |
107 | 101 | | |
108 | | - | |
| 102 | + | |
109 | 103 | | |
110 | 104 | | |
111 | 105 | | |
| |||
117 | 111 | | |
118 | 112 | | |
119 | 113 | | |
120 | | - | |
| 114 | + | |
121 | 115 | | |
122 | 116 | | |
123 | 117 | | |
| |||
129 | 123 | | |
130 | 124 | | |
131 | 125 | | |
132 | | - | |
| 126 | + | |
133 | 127 | | |
134 | 128 | | |
135 | 129 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
93 | | - | |
| 94 | + | |
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
| 234 | + | |
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| |||
0 commit comments