Skip to content

Commit 4ca7529

Browse files
committed
Some fixes
1 parent 52d1796 commit 4ca7529

File tree

2 files changed

+34
-42
lines changed

2 files changed

+34
-42
lines changed

src/main/resources/datapack-1.17.x/mappings/configuredfeatures.yaml

Lines changed: 33 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ bamboo_no_podzol:
2323
- Features.BAMBOO_LIGHT
2424
- ProbabilityFeatureConfiguration
2525
bamboo_some_podzol:
26-
- bamboo_some_podzol
27-
- Features.BAMBOO_SOME_PODZOL
26+
- bamboo
27+
- Features.BAMBOO
2828
- ProbabilityFeatureConfiguration
2929
bamboo_vegetation:
3030
- bamboo_vegetation
@@ -120,7 +120,7 @@ delta:
120120
- DeltaFeatureConfiguration
121121
desert_well:
122122
- desert_well
123-
- Features.DESERT_WELL
123+
- Features.WELL
124124
- NoneFeatureConfiguration
125125
disk_clay:
126126
- disk_clay
@@ -259,8 +259,8 @@ jungle_tree_no_vine:
259259
- Features.JUNGLE_TREE_NO_VINE
260260
- TreeConfiguration
261261
kelp:
262-
- kelp
263-
- Features.KELP
262+
- kelp_warm
263+
- Features.KELP_WARM
264264
- NoneFeatureConfiguration
265265
lake_lava:
266266
- lake_lava
@@ -278,10 +278,6 @@ lush_caves_clay:
278278
- lush_caves_clay
279279
- Features.LUSH_CAVES_CLAY
280280
- RandomBooleanFeatureConfiguration
281-
meadow_trees:
282-
- meadow_trees
283-
- Features.MEADOW_TREES
284-
- RandomFeatureConfiguration
285281
mega_jungle_tree:
286282
- mega_jungle_tree
287283
- Features.MEGA_JUNGLE_TREE
@@ -314,10 +310,6 @@ moss_vegetation:
314310
- moss_vegetation
315311
- Features.MOSS_VEGETATION
316312
- SimpleBlockConfiguration
317-
mushroom_island_vegetation:
318-
- mushroom_island_vegetation
319-
- Features.MUSHROOM_ISLAND_VEGETATION
320-
- RandomBooleanFeatureConfiguration
321313
nether_sprouts:
322314
- nether_sprouts
323315
- Features.NETHER_SPROUTS
@@ -343,12 +335,12 @@ oak_bees_005:
343335
- Features.OAK_BEES_005
344336
- TreeConfiguration
345337
ore_ancient_debris_large:
346-
- ore_ancient_debris_large
347-
- Features.ORE_ANCIENT_DEBRIS_LARGE
338+
- ore_debris_large
339+
- Features.ORE_DEBRIS_LARGE
348340
- OreConfiguration
349341
ore_ancient_debris_small:
350-
- ore_ancient_debris_small
351-
- Features.ORE_ANCIENT_DEBRIS_SMALL
342+
- ore_debris_small
343+
- Features.ORE_DEBRIS_SMALL
352344
- OreConfiguration
353345
ore_andesite:
354346
- ore_andesite
@@ -367,28 +359,28 @@ ore_coal:
367359
- Features.ORE_COAL
368360
- OreConfiguration
369361
ore_coal_buried:
370-
- ore_coal_buried
371-
- Features.ORE_COAL_BURIED
362+
- prototype_ore_coal_lower
363+
- Features.PROTOTYPE_ORE_COAL_LOWER
372364
- OreConfiguration
373365
ore_copper_large:
374366
- prototype_ore_copper
375367
- Features.PROTOTYPE_ORE_COPPER
376368
- OreConfiguration
377369
ore_copper_small:
378-
- ore_copper_small
379-
- Features.ORE_COPPPER_SMALL
370+
- ore_copper
371+
- Features.ORE_COPPER
380372
- OreConfiguration
381373
ore_diamond_buried:
382-
- ore_diamond_buried
383-
- Features.ORE_DIAMOND_BURIED
374+
- ore_diamond
375+
- Features.ORE_DIAMOND
384376
- OreConfiguration
385377
ore_diamond_large:
386-
- ore_diamond_large
378+
- prototype_ore_diamond_large
387379
- Features.PROTOTYPE_ORE_DIAMOND_LARGE
388380
- OreConfiguration
389381
ore_diamond_small:
390-
- ore_diamond_small
391-
- Features.ORE_DIAMOND_SMALL
382+
- prototype_ore_diamond
383+
- Features.PROTOTYPE_ORE_DIAMOND
392384
- OreConfiguration
393385
ore_diorite:
394386
- ore_diorite
@@ -407,8 +399,8 @@ ore_gold:
407399
- Features.ORE_GOLD
408400
- OreConfiguration
409401
ore_gold_buried:
410-
- ore_gold_buried
411-
- Features.ORE_GOLD_BURIED
402+
- prototype_ore_gold
403+
- Features.PROTOTYPE_ORE_GOLD
412404
- OreConfiguration
413405
ore_granite:
414406
- ore_granite
@@ -431,24 +423,24 @@ ore_iron:
431423
- Features.ORE_IRON
432424
- OreConfiguration
433425
ore_iron_small:
434-
- ore_iron_small
435-
- Features.ORE_IRON_SMALL
426+
- prototype_ore_iron_small
427+
- Features.PROTOTYPE_ORE_IRON_SMALL
436428
- OreConfiguration
437429
ore_lapis:
438430
- ore_lapis
439431
- Features.ORE_LAPIS
440432
- OreConfiguration
441433
ore_lapis_buried:
442-
- ore_lapis_buried
443-
- Features.ORE_LAPIS_BURIED
434+
- prototype_ore_lapis_buried
435+
- Features.PROTOTYPE_ORE_LAPIS_BURIED
444436
- OreConfiguration
445437
ore_magma:
446438
- ore_magma
447439
- Features.ORE_MAGMA
448440
- OreConfiguration
449441
ore_nether_gold:
450-
- ore_nether_gold
451-
- Features.ORE_NETHER_GOLD
442+
- ore_gold_nether
443+
- Features.ORE_GOLD_NETHER
452444
- OreConfiguration
453445
ore_quartz:
454446
- ore_quartz_nether
@@ -491,8 +483,8 @@ patch_fire:
491483
- Features.PATCH_FIRE
492484
- RandomPatchConfiguration
493485
patch_grass:
494-
- patch_grass
495-
- Features.PATCH_GRASS
486+
- patch_grass_plain
487+
- Features.PATCH_GRASS_PLAIN
496488
- RandomPatchConfiguration
497489
patch_grass_jungle:
498490
- patch_grass_jungle
@@ -571,9 +563,9 @@ sea_pickle:
571563
- Features.SEA_PICKLE
572564
- CountConfiguration
573565
seagrass_mid:
574-
- seagrass_mid
575-
- Features.SEAGRASS_MID
576-
- ProbabilityFeatureConfiguration
566+
- seagrass_simple
567+
- Features.SEAGRASS_SIMPLE
568+
- SimpleBlockConfiguration
577569
seagrass_short:
578570
- seagrass_simple
579571
- Features.SEAGRASS_SIMPLE
@@ -635,8 +627,8 @@ trees_birch_and_oak:
635627
- Features.TREES_BIRCH_AND_OAK
636628
- RandomFeatureConfiguration
637629
trees_flower_forest:
638-
- trees_flower_forest
639-
- Features.TREES_FLOWER_FOREST
630+
- forest_flower_trees
631+
- Features.FOREST_FLOWER_TREES
640632
- RandomFeatureConfiguration
641633
trees_jungle:
642634
- trees_jungle

src/main/resources/forge-1.17.1/utils/trees.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ new RandomSpreadFoliagePlacer(ConstantInt.of(${radius}), ConstantInt.of(${offset
3535
</#macro>
3636

3737
<#macro twoLayersFeatureSize limit lower_size upper_size min_clipped_height=-1>
38-
new TwoLayersFeatureSize(${limit}, ${lower_size}, ${upper_size}<#if min_clipped_height != -1>, ${min_clipped_height}</#if>)
38+
new TwoLayersFeatureSize(${limit}, ${lower_size}, ${upper_size}<#if min_clipped_height != -1>, OptionalInt.of(${min_clipped_height})</#if>)
3939
</#macro>
4040

4141
<#macro threeLayersFeatureSize limit upper_limit lower_size middle_size upper_size>

0 commit comments

Comments
 (0)