20w16a, added ruined portals and bastion remnants structures
This commit is contained in:
1 parent
ca74935742
commit
7ed0a28843
2 files changed
+9
-2
No files matched your search
+2
-2
@@ -4,8 +4,8 @@ org.gradle.jvmargs=-Xmx1G
|
||||
# Fabric Properties
|
||||
# check these on https://fabricmc.net/use
|
||||
# or better: https://modmuss50.me/fabric.html
|
||||
minecraft_version=20w15a
|
||||
yarn_mappings=20w15a+build.7
|
||||
minecraft_version=20w16a
|
||||
yarn_mappings=20w16a+build.1
|
||||
loader_version=0.8.2+build.194
|
||||
|
||||
# Mod Properties
|
||||
|
||||
@@ -148,6 +148,8 @@ public class FeatureGenerator
|
||||
structureToFeature.put("Igloo", Collections.singletonList("igloo"));
|
||||
structureToFeature.put("Fortress", Collections.singletonList("fortress"));
|
||||
structureToFeature.put("Nether_Fossil", Collections.singletonList("nether_fossil"));
|
||||
structureToFeature.put("Bastion_Remnant", Collections.singletonList("bastion_remnant"));
|
||||
structureToFeature.put("Ruined_Portal", Collections.singletonList("ruined_portal"));
|
||||
|
||||
structureToFeature.forEach((key, value) -> value.forEach(el -> featureToStructure.put(el, key)));
|
||||
}
|
||||
@@ -192,6 +194,8 @@ public class FeatureGenerator
|
||||
put("village_taiga", gridCustomStructure(Feature.VILLAGE, new VillageFeatureConfig("village/taiga/town_centers", 6), Biomes.PLAINS));
|
||||
put("village_snowy", gridCustomStructure(Feature.VILLAGE, new VillageFeatureConfig("village/snowy/town_centers", 6), Biomes.PLAINS));
|
||||
put("nether_fossil", ((StructureFeatureInterface)Feature.NETHER_FOSSIL)::gridAnywhere);
|
||||
put("bastion_remnant", ((StructureFeatureInterface)Feature.field_23997)::gridAnywhere);
|
||||
put("ruined_portal", ((StructureFeatureInterface)Feature.field_23996)::gridAnywhere);
|
||||
|
||||
}};
|
||||
|
||||
@@ -319,6 +323,9 @@ public class FeatureGenerator
|
||||
put("village_taiga", spawnCustomStructure(Feature.VILLAGE, new VillageFeatureConfig("village/taiga/town_centers", 6), Biomes.PLAINS));
|
||||
put("village_snowy", spawnCustomStructure(Feature.VILLAGE, new VillageFeatureConfig("village/snowy/town_centers", 6), Biomes.PLAINS));
|
||||
put("nether_fossil", ((StructureFeatureInterface)Feature.NETHER_FOSSIL)::plopAnywhere);
|
||||
put("bastion_remnant", ((StructureFeatureInterface)Feature.field_23997)::plopAnywhere);
|
||||
put("ruined_portal", ((StructureFeatureInterface)Feature.field_23996)::plopAnywhere);
|
||||
|
||||
}};
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user