diff --git a/src/client/java/com/lumiscosity/rounded/RoundedClient.java b/src/client/java/com/lumiscosity/rounded/RoundedClient.java index 906c148..bb19dfa 100644 --- a/src/client/java/com/lumiscosity/rounded/RoundedClient.java +++ b/src/client/java/com/lumiscosity/rounded/RoundedClient.java @@ -9,5 +9,8 @@ public class RoundedClient implements ClientModInitializer { @Override public void onInitializeClient() { BlockRenderLayerMap.INSTANCE.putBlock(RegisterBlocks.LUSTERSHROOM_PLANT, RenderLayer.getCutout()); + BlockRenderLayerMap.INSTANCE.putBlock(RegisterBlocks.PRISMARINE_LANTERN, RenderLayer.getCutout()); + BlockRenderLayerMap.INSTANCE.putBlock(RegisterBlocks.BLADDERWRACK, RenderLayer.getCutout()); + BlockRenderLayerMap.INSTANCE.putBlock(RegisterBlocks.DEAD_BLADDERWRACK, RenderLayer.getCutout()); } } \ No newline at end of file diff --git a/src/main/java/com/lumiscosity/rounded/worldgen/OceanRockFeature.java b/src/main/java/com/lumiscosity/rounded/worldgen/OceanRockFeature.java new file mode 100644 index 0000000..5c07f81 --- /dev/null +++ b/src/main/java/com/lumiscosity/rounded/worldgen/OceanRockFeature.java @@ -0,0 +1,57 @@ +package com.lumiscosity.rounded.worldgen; + +import com.mojang.serialization.Codec; +import net.minecraft.block.Block; +import net.minecraft.block.BlockState; +import net.minecraft.registry.tag.BlockTags; +import net.minecraft.util.math.BlockPos; +import net.minecraft.util.math.Direction; +import net.minecraft.util.math.random.Random; +import net.minecraft.world.StructureWorldAccess; +import net.minecraft.world.gen.feature.Feature; +import net.minecraft.world.gen.feature.SimpleBlockFeatureConfig; +import net.minecraft.world.gen.feature.util.FeatureContext; + +public class OceanRockFeature extends Feature { + public OceanRockFeature(Codec codec) { + super(codec); + } + + @Override + public boolean generate(FeatureContext context) { + BlockPos origin = context.getOrigin(); + StructureWorldAccess structureWorldAccess = context.getWorld(); + Random random = context.getRandom(); + + SimpleBlockFeatureConfig SimpleBlockFeatureConfig; + for (SimpleBlockFeatureConfig = context.getConfig(); origin.getY() > structureWorldAccess.getBottomY() + 3; origin = origin.down()) { + if (!structureWorldAccess.isAir(origin.down())) { + BlockState blockState = structureWorldAccess.getBlockState(origin.down()); + if (isSoil(blockState) || isStone(blockState) || blockState.isIn(BlockTags.BASE_STONE_NETHER)) { + break; + } + } + } + + if (origin.getY() <= structureWorldAccess.getBottomY() + 3) { + return false; + } else { + int[] heights = { + random.nextInt(7), random.nextInt(8), random.nextInt(7), + random.nextInt(8), random.nextInt(9), random.nextInt(8), + random.nextInt(7), random.nextInt(8), random.nextInt(7) + }; + + BlockPos.Mutable pos = new BlockPos.Mutable(); + for (int i = 0; i < 9; i++) { + pos.set(origin.getX() + i % 3,origin.getY() - random.nextInt(3),origin.getZ() + i / 3); + for (int j = 0; j < heights[i]; j++) { + structureWorldAccess.setBlockState(pos, SimpleBlockFeatureConfig.toPlace().get(random, pos), Block.NOTIFY_ALL); + pos.move(Direction.UP); + } + } + + return true; + } + } +} diff --git a/src/main/java/com/lumiscosity/rounded/worldgen/RegisterFeatures.java b/src/main/java/com/lumiscosity/rounded/worldgen/RegisterFeatures.java index abe3036..8e52263 100644 --- a/src/main/java/com/lumiscosity/rounded/worldgen/RegisterFeatures.java +++ b/src/main/java/com/lumiscosity/rounded/worldgen/RegisterFeatures.java @@ -12,6 +12,7 @@ import net.minecraft.world.gen.feature.Feature; import net.minecraft.world.gen.feature.FeatureConfig; import net.minecraft.world.gen.feature.HugeMushroomFeatureConfig; +import net.minecraft.world.gen.feature.SimpleBlockFeatureConfig; import static com.lumiscosity.rounded.Rounded.MOD_ID; @@ -37,10 +38,31 @@ public static void initFeatures() { RegistryKey.of(RegistryKeys.PLACED_FEATURE, Identifier.of(MOD_ID, "bladderwrack")) ); - // Ocean floor rocks + // Ocean rocks + register_feature("ocean_rock", new OceanRockFeature(SimpleBlockFeatureConfig.CODEC)); + BiomeModifications.addFeature( + BiomeSelectors.tag(TagKey.of(RegistryKeys.BIOME, Identifier.of(MOD_ID, "has_andesite_ocean_rocks"))), + GenerationStep.Feature.LOCAL_MODIFICATIONS, + RegistryKey.of(RegistryKeys.PLACED_FEATURE, Identifier.of(MOD_ID, "andesite_ocean_rock")) + ); + BiomeModifications.addFeature( + BiomeSelectors.tag(TagKey.of(RegistryKeys.BIOME, Identifier.of(MOD_ID, "has_diorite_ocean_rocks"))), + GenerationStep.Feature.LOCAL_MODIFICATIONS, + RegistryKey.of(RegistryKeys.PLACED_FEATURE, Identifier.of(MOD_ID, "diorite_ocean_rock")) + ); + BiomeModifications.addFeature( + BiomeSelectors.tag(TagKey.of(RegistryKeys.BIOME, Identifier.of(MOD_ID, "has_smooth_basalt_ocean_rocks"))), + GenerationStep.Feature.LOCAL_MODIFICATIONS, + RegistryKey.of(RegistryKeys.PLACED_FEATURE, Identifier.of(MOD_ID, "smooth_basalt_ocean_rock")) + ); + BiomeModifications.addFeature( + BiomeSelectors.tag(TagKey.of(RegistryKeys.BIOME, Identifier.of(MOD_ID, "has_lava_ocean_rocks"))), + GenerationStep.Feature.LOCAL_MODIFICATIONS, + RegistryKey.of(RegistryKeys.PLACED_FEATURE, Identifier.of(MOD_ID, "lava_ocean_rock")) + ); } - private static > F register_feature(String name, F feature) { - return Registry.register(Registries.FEATURE, Identifier.of(MOD_ID, name), feature); + private static > void register_feature(String name, F feature) { + Registry.register(Registries.FEATURE, Identifier.of(MOD_ID, name), feature); } } diff --git a/src/main/resources/data/c/tags/worldgen/biome/is_nether.json b/src/main/resources/data/c/tags/worldgen/biome/is_nether.json new file mode 100644 index 0000000..2511292 --- /dev/null +++ b/src/main/resources/data/c/tags/worldgen/biome/is_nether.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "#minecraft:is_nether" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/blocks/enderman_holdable.json b/src/main/resources/data/minecraft/tags/blocks/enderman_holdable.json new file mode 100644 index 0000000..b4e5c7e --- /dev/null +++ b/src/main/resources/data/minecraft/tags/blocks/enderman_holdable.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "rounded:lustershroom" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/blocks/sword_efficient.json b/src/main/resources/data/minecraft/tags/blocks/sword_efficient.json new file mode 100644 index 0000000..b4e5c7e --- /dev/null +++ b/src/main/resources/data/minecraft/tags/blocks/sword_efficient.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "rounded:lustershroom" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/rounded/advancements/recipes/building_blocks/bladderwrack_block.json b/src/main/resources/data/rounded/advancements/recipes/building_blocks/bladderwrack_block.json new file mode 100644 index 0000000..9acb3b2 --- /dev/null +++ b/src/main/resources/data/rounded/advancements/recipes/building_blocks/bladderwrack_block.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_log": { + "conditions": { + "items": [ + { + "items": ["rounded:bladderwrack"] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "rounded:bladderwrack_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_log" + ] + ], + "rewards": { + "recipes": [ + "rounded:bladderwrack_block" + ] + } +} diff --git a/src/main/resources/data/rounded/advancements/recipes/building_blocks/chiseled_prismarine_bricks.json b/src/main/resources/data/rounded/advancements/recipes/building_blocks/chiseled_prismarine_bricks.json new file mode 100644 index 0000000..4f0efbb --- /dev/null +++ b/src/main/resources/data/rounded/advancements/recipes/building_blocks/chiseled_prismarine_bricks.json @@ -0,0 +1,26 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_log": { + "conditions": { + "items": [ + { + "items": ["minecraft:prismarine_bricks"] + } + ] + }, + "trigger": "minecraft:inventory_changed" + } + }, + "requirements": [ + [ + "has_log" + ] + ], + "rewards": { + "recipes": [ + "rounded:chiseled_prismarine_bricks", + "rounded:stonecutter/chiseled_prismarine_bricks" + ] + } +} diff --git a/src/main/resources/data/rounded/advancements/recipes/building_blocks/dead_bladderwrack_block.json b/src/main/resources/data/rounded/advancements/recipes/building_blocks/dead_bladderwrack_block.json new file mode 100644 index 0000000..8fe389c --- /dev/null +++ b/src/main/resources/data/rounded/advancements/recipes/building_blocks/dead_bladderwrack_block.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_log": { + "conditions": { + "items": [ + { + "items": ["rounded:dead_bladderwrack"] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "rounded:dead_bladderwrack_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_log" + ] + ], + "rewards": { + "recipes": [ + "rounded:dead_bladderwrack_block" + ] + } +} diff --git a/src/main/resources/data/rounded/advancements/recipes/building_blocks/furnace/smooth_prismarine.json b/src/main/resources/data/rounded/advancements/recipes/building_blocks/furnace/smooth_prismarine.json new file mode 100644 index 0000000..b231f00 --- /dev/null +++ b/src/main/resources/data/rounded/advancements/recipes/building_blocks/furnace/smooth_prismarine.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_log": { + "conditions": { + "items": [ + { + "items": ["minecraft:prismarine"] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "rounded:furnace/smooth_prismarine" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_log" + ] + ], + "rewards": { + "recipes": [ + "rounded:furnace/smooth_prismarine" + ] + } +} diff --git a/src/main/resources/data/rounded/advancements/recipes/building_blocks/moisture_detector.json b/src/main/resources/data/rounded/advancements/recipes/building_blocks/moisture_detector.json new file mode 100644 index 0000000..4e6aa27 --- /dev/null +++ b/src/main/resources/data/rounded/advancements/recipes/building_blocks/moisture_detector.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_log": { + "conditions": { + "items": [ + { + "items": ["rounded:smooth_prismarine"] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "rounded:moisture_detector" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_log" + ] + ], + "rewards": { + "recipes": [ + "rounded:moisture_detector" + ] + } +} diff --git a/src/main/resources/data/rounded/advancements/recipes/building_blocks/prismarine_lantern.json b/src/main/resources/data/rounded/advancements/recipes/building_blocks/prismarine_lantern.json new file mode 100644 index 0000000..386474d --- /dev/null +++ b/src/main/resources/data/rounded/advancements/recipes/building_blocks/prismarine_lantern.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_log": { + "conditions": { + "items": [ + { + "items": ["minecraft:prismarine_crystals"] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "rounded:prismarine_lantern" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_log" + ] + ], + "rewards": { + "recipes": [ + "rounded:prismarine_lantern" + ] + } +} diff --git a/src/main/resources/data/rounded/advancements/recipes/building_blocks/smooth_prismarine_slab.json b/src/main/resources/data/rounded/advancements/recipes/building_blocks/smooth_prismarine_slab.json new file mode 100644 index 0000000..7b328b4 --- /dev/null +++ b/src/main/resources/data/rounded/advancements/recipes/building_blocks/smooth_prismarine_slab.json @@ -0,0 +1,26 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_log": { + "conditions": { + "items": [ + { + "items": ["rounded:smooth_prismarine"] + } + ] + }, + "trigger": "minecraft:inventory_changed" + } + }, + "requirements": [ + [ + "has_log" + ] + ], + "rewards": { + "recipes": [ + "rounded:smooth_prismarine_slab", + "rounded:stonecutter/smooth_prismarine_slab" + ] + } +} diff --git a/src/main/resources/data/rounded/loot_tables/blocks/bladderwrack.json b/src/main/resources/data/rounded/loot_tables/blocks/bladderwrack.json new file mode 100644 index 0000000..3eec8f7 --- /dev/null +++ b/src/main/resources/data/rounded/loot_tables/blocks/bladderwrack.json @@ -0,0 +1,33 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "rounded:bladderwrack" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "rounded:blocks/bladderwrack" +} \ No newline at end of file diff --git a/src/main/resources/data/rounded/loot_tables/blocks/bladderwrack_block.json b/src/main/resources/data/rounded/loot_tables/blocks/bladderwrack_block.json new file mode 100644 index 0000000..2e60cd8 --- /dev/null +++ b/src/main/resources/data/rounded/loot_tables/blocks/bladderwrack_block.json @@ -0,0 +1,47 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "name": "rounded:bladderwrack_block" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "name": "rounded:dead_bladderwrack_block" + } + ] + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "rounded:blocks/bladderwrack_block" +} \ No newline at end of file diff --git a/src/main/resources/data/rounded/loot_tables/blocks/chiseled_prismarine_bricks.json b/src/main/resources/data/rounded/loot_tables/blocks/chiseled_prismarine_bricks.json new file mode 100644 index 0000000..12c8156 --- /dev/null +++ b/src/main/resources/data/rounded/loot_tables/blocks/chiseled_prismarine_bricks.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "rounded:chiseled_prismarine_bricks" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "rounded:blocks/chiseled_prismarine_bricks" +} diff --git a/src/main/resources/data/rounded/loot_tables/blocks/dead_bladderwrack.json b/src/main/resources/data/rounded/loot_tables/blocks/dead_bladderwrack.json new file mode 100644 index 0000000..7c7524a --- /dev/null +++ b/src/main/resources/data/rounded/loot_tables/blocks/dead_bladderwrack.json @@ -0,0 +1,33 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "rounded:dead_bladderwrack" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "rounded:blocks/dead_bladderwrack" +} \ No newline at end of file diff --git a/src/main/resources/data/rounded/loot_tables/blocks/dead_bladderwrack_block.json b/src/main/resources/data/rounded/loot_tables/blocks/dead_bladderwrack_block.json new file mode 100644 index 0000000..b1f66a8 --- /dev/null +++ b/src/main/resources/data/rounded/loot_tables/blocks/dead_bladderwrack_block.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "rounded:dead_bladderwrack_block" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "rounded:blocks/dead_bladderwrack_block" +} \ No newline at end of file diff --git a/src/main/resources/data/rounded/loot_tables/blocks/moisture_detector.json b/src/main/resources/data/rounded/loot_tables/blocks/moisture_detector.json new file mode 100644 index 0000000..871a695 --- /dev/null +++ b/src/main/resources/data/rounded/loot_tables/blocks/moisture_detector.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "rounded:moisture_detector" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "rounded:blocks/moisture_detector" +} diff --git a/src/main/resources/data/rounded/loot_tables/blocks/prismarine_lantern.json b/src/main/resources/data/rounded/loot_tables/blocks/prismarine_lantern.json new file mode 100644 index 0000000..1ff23fa --- /dev/null +++ b/src/main/resources/data/rounded/loot_tables/blocks/prismarine_lantern.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "rounded:prismarine_lantern" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "rounded:blocks/prismarine_lantern" +} diff --git a/src/main/resources/data/rounded/loot_tables/blocks/smooth_prismarine.json b/src/main/resources/data/rounded/loot_tables/blocks/smooth_prismarine.json new file mode 100644 index 0000000..da97915 --- /dev/null +++ b/src/main/resources/data/rounded/loot_tables/blocks/smooth_prismarine.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "rounded:smooth_prismarine" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "rounded:blocks/smooth_prismarine" +} diff --git a/src/main/resources/data/rounded/loot_tables/blocks/smooth_prismarine_slab.json b/src/main/resources/data/rounded/loot_tables/blocks/smooth_prismarine_slab.json new file mode 100644 index 0000000..bc0e2f4 --- /dev/null +++ b/src/main/resources/data/rounded/loot_tables/blocks/smooth_prismarine_slab.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "rounded:smooth_prismarine_slab" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "rounded:blocks/smooth_prismarine_slab" +} diff --git a/src/main/resources/data/rounded/recipes/bladderwrack_block.json b/src/main/resources/data/rounded/recipes/bladderwrack_block.json new file mode 100644 index 0000000..01200db --- /dev/null +++ b/src/main/resources/data/rounded/recipes/bladderwrack_block.json @@ -0,0 +1,17 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "building", + "key": { + "#": { + "item": "rounded:bladderwrack" + } + }, + "pattern": [ + "##", + "##" + ], + "result": { + "count": 1, + "item": "rounded:bladderwrack_block" + } +} \ No newline at end of file diff --git a/src/main/resources/data/rounded/recipes/chiseled_prismarine_bricks.json b/src/main/resources/data/rounded/recipes/chiseled_prismarine_bricks.json new file mode 100644 index 0000000..2b38dd4 --- /dev/null +++ b/src/main/resources/data/rounded/recipes/chiseled_prismarine_bricks.json @@ -0,0 +1,17 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "building", + "key": { + "X": { + "item": "minecraft:prismarine_brick_slab" + } + }, + "pattern": [ + "X", + "X" + ], + "result": { + "count": 1, + "item": "rounded:chiseled_prismarine_bricks" + } +} \ No newline at end of file diff --git a/src/main/resources/data/rounded/recipes/dead_bladderwrack_block.json b/src/main/resources/data/rounded/recipes/dead_bladderwrack_block.json new file mode 100644 index 0000000..55c770d --- /dev/null +++ b/src/main/resources/data/rounded/recipes/dead_bladderwrack_block.json @@ -0,0 +1,17 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "building", + "key": { + "#": { + "item": "rounded:dead_bladderwrack" + } + }, + "pattern": [ + "##", + "##" + ], + "result": { + "count": 1, + "item": "rounded:dead_bladderwrack_block" + } +} \ No newline at end of file diff --git a/src/main/resources/data/rounded/recipes/furnace/smooth_prismarine.json b/src/main/resources/data/rounded/recipes/furnace/smooth_prismarine.json new file mode 100644 index 0000000..2baa7f1 --- /dev/null +++ b/src/main/resources/data/rounded/recipes/furnace/smooth_prismarine.json @@ -0,0 +1,9 @@ +{ + "type": "minecraft:smelting", + "category": "blocks", + "ingredient": { + "item": "minecraft:prismarine" + }, + "result": "rounded:smooth_prismarine", + "experience": 0.1 +} \ No newline at end of file diff --git a/src/main/resources/data/rounded/recipes/moisture_detector.json b/src/main/resources/data/rounded/recipes/moisture_detector.json new file mode 100644 index 0000000..cfdee38 --- /dev/null +++ b/src/main/resources/data/rounded/recipes/moisture_detector.json @@ -0,0 +1,24 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "redstone", + "key": { + "#": { + "item": "minecraft:glass" + }, + "X": { + "item": "minecraft:quartz" + }, + "O": { + "item": "rounded:smooth_prismarine" + } + }, + "pattern": [ + "###", + "XXX", + "OOO" + ], + "result": { + "count": 1, + "item": "rounded:moisture_detector" + } +} \ No newline at end of file diff --git a/src/main/resources/data/rounded/recipes/prismarine_lantern.json b/src/main/resources/data/rounded/recipes/prismarine_lantern.json new file mode 100644 index 0000000..4a8c5d1 --- /dev/null +++ b/src/main/resources/data/rounded/recipes/prismarine_lantern.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "building", + "key": { + "#": { + "item": "minecraft:iron_nugget" + }, + "X": { + "item": "minecraft:prismarine_crystals" + } + }, + "pattern": [ + "###", + "#X#", + "###" + ], + "result": { + "count": 1, + "item": "rounded:prismarine_lantern" + } +} \ No newline at end of file diff --git a/src/main/resources/data/rounded/recipes/smooth_prismarine_slab.json b/src/main/resources/data/rounded/recipes/smooth_prismarine_slab.json new file mode 100644 index 0000000..be6e567 --- /dev/null +++ b/src/main/resources/data/rounded/recipes/smooth_prismarine_slab.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "building", + "key": { + "#": { + "item": "rounded:smooth_prismarine" + } + }, + "pattern": [ + "###" + ], + "result": { + "count": 6, + "item": "rounded:smooth_prismarine_slab" + } +} \ No newline at end of file diff --git a/src/main/resources/data/rounded/recipes/stonecutter/chiseled_prismarine_bricks.json b/src/main/resources/data/rounded/recipes/stonecutter/chiseled_prismarine_bricks.json new file mode 100644 index 0000000..411b569 --- /dev/null +++ b/src/main/resources/data/rounded/recipes/stonecutter/chiseled_prismarine_bricks.json @@ -0,0 +1,8 @@ +{ + "type": "minecraft:stonecutting", + "ingredient": { + "item": "minecraft:prismarine_bricks" + }, + "result": "rounded:chiseled_prismarine_bricks", + "count": 1 +} \ No newline at end of file diff --git a/src/main/resources/data/rounded/recipes/stonecutter/smooth_prismarine_slab.json b/src/main/resources/data/rounded/recipes/stonecutter/smooth_prismarine_slab.json new file mode 100644 index 0000000..06e7eda --- /dev/null +++ b/src/main/resources/data/rounded/recipes/stonecutter/smooth_prismarine_slab.json @@ -0,0 +1,8 @@ +{ + "type": "minecraft:stonecutting", + "ingredient": { + "item": "rounded:smooth_prismarine" + }, + "result": "rounded:smooth_prismarine_slab", + "count": 2 +} \ No newline at end of file diff --git a/src/main/resources/data/rounded/structures/monument/outer1.nbt b/src/main/resources/data/rounded/structures/monument/outer1.nbt new file mode 100644 index 0000000..b6cd57d Binary files /dev/null and b/src/main/resources/data/rounded/structures/monument/outer1.nbt differ diff --git a/src/main/resources/data/rounded/structures/monument/outer2.nbt b/src/main/resources/data/rounded/structures/monument/outer2.nbt new file mode 100644 index 0000000..77b552d Binary files /dev/null and b/src/main/resources/data/rounded/structures/monument/outer2.nbt differ diff --git a/src/main/resources/data/rounded/structures/monument/outer3.nbt b/src/main/resources/data/rounded/structures/monument/outer3.nbt new file mode 100644 index 0000000..df1d72a Binary files /dev/null and b/src/main/resources/data/rounded/structures/monument/outer3.nbt differ diff --git a/src/main/resources/data/rounded/structures/monument/outer4.nbt b/src/main/resources/data/rounded/structures/monument/outer4.nbt new file mode 100644 index 0000000..820bf9a Binary files /dev/null and b/src/main/resources/data/rounded/structures/monument/outer4.nbt differ diff --git a/src/main/resources/data/rounded/tags/worldgen/biome/has_andesite_ocean_rocks.json b/src/main/resources/data/rounded/tags/worldgen/biome/has_andesite_ocean_rocks.json new file mode 100644 index 0000000..7c7a5f5 --- /dev/null +++ b/src/main/resources/data/rounded/tags/worldgen/biome/has_andesite_ocean_rocks.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "minecraft:ocean", + "minecraft:deep_ocean" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/rounded/tags/worldgen/biome/has_bladderwrack.json b/src/main/resources/data/rounded/tags/worldgen/biome/has_bladderwrack.json new file mode 100644 index 0000000..cb9e333 --- /dev/null +++ b/src/main/resources/data/rounded/tags/worldgen/biome/has_bladderwrack.json @@ -0,0 +1,8 @@ +{ + "replace": false, + "values": [ + "minecraft:cold_ocean", + "minecraft:ocean", + "minecraft:lukewarm_ocean" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/rounded/tags/worldgen/biome/has_diorite_ocean_rocks.json b/src/main/resources/data/rounded/tags/worldgen/biome/has_diorite_ocean_rocks.json new file mode 100644 index 0000000..c020a5d --- /dev/null +++ b/src/main/resources/data/rounded/tags/worldgen/biome/has_diorite_ocean_rocks.json @@ -0,0 +1,8 @@ +{ + "replace": false, + "values": [ + "minecraft:lukewarm_ocean", + "minecraft:deep_lukewarm_ocean", + "minecraft:warm_ocean" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/rounded/tags/worldgen/biome/has_lava_ocean_rocks.json b/src/main/resources/data/rounded/tags/worldgen/biome/has_lava_ocean_rocks.json new file mode 100644 index 0000000..83e099b --- /dev/null +++ b/src/main/resources/data/rounded/tags/worldgen/biome/has_lava_ocean_rocks.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "#c:is_nether" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/rounded/tags/worldgen/biome/has_smooth_basalt_ocean_rocks.json b/src/main/resources/data/rounded/tags/worldgen/biome/has_smooth_basalt_ocean_rocks.json new file mode 100644 index 0000000..2871d9e --- /dev/null +++ b/src/main/resources/data/rounded/tags/worldgen/biome/has_smooth_basalt_ocean_rocks.json @@ -0,0 +1,9 @@ +{ + "replace": false, + "values": [ + "minecraft:frozen_ocean", + "minecraft:deep_frozen_ocean", + "minecraft:cold_ocean", + "minecraft:deep_cold_ocean" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/rounded/worldgen/configured_feature/andesite_ocean_rock.json b/src/main/resources/data/rounded/worldgen/configured_feature/andesite_ocean_rock.json new file mode 100644 index 0000000..3a85931 --- /dev/null +++ b/src/main/resources/data/rounded/worldgen/configured_feature/andesite_ocean_rock.json @@ -0,0 +1,11 @@ +{ + "type": "rounded:ocean_rock", + "config": { + "to_place": { + "type": "minecraft:simple_state_provider", + "state": { + "Name": "minecraft:andesite" + } + } + } +} \ No newline at end of file diff --git a/src/main/resources/data/rounded/worldgen/configured_feature/diorite_ocean_rock.json b/src/main/resources/data/rounded/worldgen/configured_feature/diorite_ocean_rock.json new file mode 100644 index 0000000..cabaf7d --- /dev/null +++ b/src/main/resources/data/rounded/worldgen/configured_feature/diorite_ocean_rock.json @@ -0,0 +1,11 @@ +{ + "type": "rounded:ocean_rock", + "config": { + "to_place": { + "type": "minecraft:simple_state_provider", + "state": { + "Name": "minecraft:diorite" + } + } + } +} \ No newline at end of file diff --git a/src/main/resources/data/rounded/worldgen/configured_feature/lava_ocean_rock.json b/src/main/resources/data/rounded/worldgen/configured_feature/lava_ocean_rock.json new file mode 100644 index 0000000..3c91c11 --- /dev/null +++ b/src/main/resources/data/rounded/worldgen/configured_feature/lava_ocean_rock.json @@ -0,0 +1,11 @@ +{ + "type": "rounded:ocean_rock", + "config": { + "to_place": { + "type": "minecraft:simple_state_provider", + "state": { + "Name": "minecraft:blackstone" + } + } + } +} \ No newline at end of file diff --git a/src/main/resources/data/rounded/worldgen/configured_feature/patch_bladderwrack.json b/src/main/resources/data/rounded/worldgen/configured_feature/patch_bladderwrack.json new file mode 100644 index 0000000..ade40ae --- /dev/null +++ b/src/main/resources/data/rounded/worldgen/configured_feature/patch_bladderwrack.json @@ -0,0 +1,30 @@ +{ + "type": "minecraft:random_patch", + "config": { + "feature": { + "feature": { + "type": "minecraft:simple_block", + "config": { + "to_place": { + "type": "minecraft:simple_state_provider", + "state": { + "Name": "rounded:bladderwrack" + } + } + } + }, + "placement": [ + { + "type": "minecraft:block_predicate_filter", + "predicate": { + "type": "minecraft:matching_blocks", + "blocks": "minecraft:water" + } + } + ] + }, + "tries": 96, + "xz_spread": 7, + "y_spread": 3 + } +} \ No newline at end of file diff --git a/src/main/resources/data/rounded/worldgen/configured_feature/smooth_basalt_ocean_rock.json b/src/main/resources/data/rounded/worldgen/configured_feature/smooth_basalt_ocean_rock.json new file mode 100644 index 0000000..6b1f5d4 --- /dev/null +++ b/src/main/resources/data/rounded/worldgen/configured_feature/smooth_basalt_ocean_rock.json @@ -0,0 +1,11 @@ +{ + "type": "rounded:ocean_rock", + "config": { + "to_place": { + "type": "minecraft:simple_state_provider", + "state": { + "Name": "minecraft:smooth_basalt" + } + } + } +} \ No newline at end of file diff --git a/src/main/resources/data/rounded/worldgen/placed_feature/andesite_ocean_rock.json b/src/main/resources/data/rounded/worldgen/placed_feature/andesite_ocean_rock.json new file mode 100644 index 0000000..39be428 --- /dev/null +++ b/src/main/resources/data/rounded/worldgen/placed_feature/andesite_ocean_rock.json @@ -0,0 +1,15 @@ +{ + "feature": "rounded:andesite_ocean_rock", + "placement": [ + { + "type": "minecraft:in_square" + }, + { + "type": "minecraft:heightmap", + "heightmap": "OCEAN_FLOOR_WG" + }, + { + "type": "minecraft:biome" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/rounded/worldgen/placed_feature/bladderwrack.json b/src/main/resources/data/rounded/worldgen/placed_feature/bladderwrack.json new file mode 100644 index 0000000..baff878 --- /dev/null +++ b/src/main/resources/data/rounded/worldgen/placed_feature/bladderwrack.json @@ -0,0 +1,19 @@ +{ + "feature": "rounded:patch_bladderwrack", + "placement": [ + { + "type": "minecraft:in_square" + }, + { + "type": "minecraft:heightmap", + "heightmap": "OCEAN_FLOOR_WG" + }, + { + "type": "surface_water_depth_filter", + "max_water_depth": 9 + }, + { + "type": "minecraft:biome" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/rounded/worldgen/placed_feature/diorite_ocean_rock.json b/src/main/resources/data/rounded/worldgen/placed_feature/diorite_ocean_rock.json new file mode 100644 index 0000000..61ce81a --- /dev/null +++ b/src/main/resources/data/rounded/worldgen/placed_feature/diorite_ocean_rock.json @@ -0,0 +1,15 @@ +{ + "feature": "rounded:diorite_ocean_rock", + "placement": [ + { + "type": "minecraft:in_square" + }, + { + "type": "minecraft:heightmap", + "heightmap": "OCEAN_FLOOR_WG" + }, + { + "type": "minecraft:biome" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/rounded/worldgen/placed_feature/lava_ocean_rock.json b/src/main/resources/data/rounded/worldgen/placed_feature/lava_ocean_rock.json new file mode 100644 index 0000000..3182344 --- /dev/null +++ b/src/main/resources/data/rounded/worldgen/placed_feature/lava_ocean_rock.json @@ -0,0 +1,23 @@ +{ + "feature": "rounded:lava_ocean_rock", + "placement": [ + { + "type": "minecraft:in_square" + }, + { + "type": "minecraft:height_range", + "height": { + "type": "minecraft:uniform", + "max_inclusive": { + "absolute": 32 + }, + "min_inclusive": { + "above_bottom": 10 + } + } + }, + { + "type": "minecraft:biome" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/rounded/worldgen/placed_feature/smooth_basalt_ocean_rock.json b/src/main/resources/data/rounded/worldgen/placed_feature/smooth_basalt_ocean_rock.json new file mode 100644 index 0000000..c54ea82 --- /dev/null +++ b/src/main/resources/data/rounded/worldgen/placed_feature/smooth_basalt_ocean_rock.json @@ -0,0 +1,15 @@ +{ + "feature": "rounded:smooth_basalt_ocean_rock", + "placement": [ + { + "type": "minecraft:in_square" + }, + { + "type": "minecraft:heightmap", + "heightmap": "OCEAN_FLOOR_WG" + }, + { + "type": "minecraft:biome" + } + ] +} \ No newline at end of file