Skip to content

Commit 1e146c8

Browse files
committed
I think error with world gen fixed?
1 parent 3d04b28 commit 1e146c8

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

common/src/main/generated/resources/data/generations_core/worldgen/placed_feature/ore_megastone.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
"height": {
1414
"type": "minecraft:trapezoid",
1515
"max_inclusive": {
16-
"absolute": -64
16+
"absolute": 0
1717
},
1818
"min_inclusive": {
19-
"absolute": 0
19+
"absolute": -64
2020
}
2121
}
2222
},

common/src/main/generated/resources/data/generations_core/worldgen/placed_feature/ore_meteorite.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
"height": {
1414
"type": "minecraft:trapezoid",
1515
"max_inclusive": {
16-
"absolute": -64
16+
"absolute": 0
1717
},
1818
"min_inclusive": {
19-
"absolute": 0
19+
"absolute": -64
2020
}
2121
}
2222
},

common/src/main/generated/resources/data/generations_core/worldgen/placed_feature/ore_z_crystal.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
"height": {
1414
"type": "minecraft:trapezoid",
1515
"max_inclusive": {
16-
"absolute": -64
16+
"absolute": 0
1717
},
1818
"min_inclusive": {
19-
"absolute": 0
19+
"absolute": -64
2020
}
2121
}
2222
},

common/src/main/java/generations/gg/generations/core/generationscore/common/world/feature/GenerationsPlacedFeatures.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ public static void bootStrap(BootstrapContext<PlacedFeature> context) {
100100
register(context, ORE_CRYSTAL_OVERWORLD_LARGE, configuredFeatureRegistryEntryLookup.getOrThrow(GenerationsConfiguredFeatures.ORE_CRYSTAL_OVERWORLD_LARGE), GenerationsOrePlacements.rareOrePlacement(9, HeightRangePlacement.triangle(VerticalAnchor.aboveBottom(-80), VerticalAnchor.aboveBottom(80))));
101101
register(context, ORE_CRYSTAL_OVERWORLD_BURIED, configuredFeatureRegistryEntryLookup.getOrThrow(GenerationsConfiguredFeatures.ORE_CRYSTAL_OVERWORLD_SMALL), GenerationsOrePlacements.commonOrePlacement(4, HeightRangePlacement.triangle(VerticalAnchor.aboveBottom(-80), VerticalAnchor.aboveBottom(80))));
102102

103-
register(context, ORE_MEGASTONE, configuredFeatureRegistryEntryLookup.getOrThrow(GenerationsConfiguredFeatures.ORE_MEGASTONE), GenerationsOrePlacements.rareOrePlacement(20, HeightRangePlacement.triangle(VerticalAnchor.absolute(0), VerticalAnchor.absolute(-64))));
104-
register(context, ORE_Z_CRYSTAL, configuredFeatureRegistryEntryLookup.getOrThrow(GenerationsConfiguredFeatures.ORE_Z_CRYSTAL), GenerationsOrePlacements.rareOrePlacement(20, HeightRangePlacement.triangle(VerticalAnchor.absolute(0), VerticalAnchor.absolute(-64))));
105-
register(context, ORE_METEORITE, configuredFeatureRegistryEntryLookup.getOrThrow(GenerationsConfiguredFeatures.ORE_METEORITE), GenerationsOrePlacements.rareOrePlacement(20, HeightRangePlacement.triangle(VerticalAnchor.absolute(0), VerticalAnchor.absolute(-64))));
103+
register(context, ORE_MEGASTONE, configuredFeatureRegistryEntryLookup.getOrThrow(GenerationsConfiguredFeatures.ORE_MEGASTONE), GenerationsOrePlacements.rareOrePlacement(20, HeightRangePlacement.triangle(VerticalAnchor.absolute(-64), VerticalAnchor.absolute(0))));
104+
register(context, ORE_Z_CRYSTAL, configuredFeatureRegistryEntryLookup.getOrThrow(GenerationsConfiguredFeatures.ORE_Z_CRYSTAL), GenerationsOrePlacements.rareOrePlacement(20, HeightRangePlacement.triangle(VerticalAnchor.absolute(-64), VerticalAnchor.absolute(0))));
105+
register(context, ORE_METEORITE, configuredFeatureRegistryEntryLookup.getOrThrow(GenerationsConfiguredFeatures.ORE_METEORITE), GenerationsOrePlacements.rareOrePlacement(20, HeightRangePlacement.triangle(VerticalAnchor.absolute(-64), VerticalAnchor.absolute(0))));
106106

107107
register(context, POKE_BALL_LOOT, configuredFeatureRegistryEntryLookup.getOrThrow(GenerationsConfiguredFeatures.POKE_BALL_LOOT), oceanFloorSquaredWithChance(250));
108108
register(context, BEAST_BALL_LOOT, configuredFeatureRegistryEntryLookup.getOrThrow(GenerationsConfiguredFeatures.BEAST_BALL_LOOT), oceanFloorSquaredWithChance(200));

common/src/main/java/generations/gg/generations/core/generationscore/common/world/item/armor/GenerationsArmorMaterials.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public static RegistrySupplier<ArmorMaterial> register(String name, int durabili
5454
map.put(ArmorItem.Type.LEGGINGS, slotProtections[1]);
5555
map.put(ArmorItem.Type.CHESTPLATE, slotProtections[2]);
5656
map.put(ArmorItem.Type.HELMET, slotProtections[3]);
57-
}), enchantmentValue, SoundEvents.ARMOR_EQUIP_IRON, Suppliers.memoize(() -> Ingredient.of(repairIngredient.get())), List.of(new ArmorMaterial.Layer(GenerationsCore.id(name)), toughness, knockbackResistance));
57+
}), enchantmentValue, SoundEvents.ARMOR_EQUIP_IRON, Suppliers.memoize(() -> Ingredient.of(repairIngredient.get())), List.of(new ArmorMaterial.Layer(GenerationsCore.id(name))), toughness, knockbackResistance));
5858
}
5959

6060
public static RegistrySupplier<ArmorMaterial> register(String name, int durabilityMultiplier, int[] slotProtections, int enchantmentValue, Supplier<Item> repairIngredient) {

0 commit comments

Comments
 (0)