diff --git a/src/client/java/net/ugi/sculk_depths/SculkDepthsClient.java b/src/client/java/net/ugi/sculk_depths/SculkDepthsClient.java index a9da1ab3..33a01ac3 100644 --- a/src/client/java/net/ugi/sculk_depths/SculkDepthsClient.java +++ b/src/client/java/net/ugi/sculk_depths/SculkDepthsClient.java @@ -109,6 +109,9 @@ public void onInitializeClient() { BlockRenderLayerMap.INSTANCE.putBlock(ModBlocks.SCULK_PEDESTAL, RenderLayer.getCutout()); + BlockRenderLayerMap.INSTANCE.putBlock(ModBlocks.AURIC_VINES, RenderLayer.getCutout()); + BlockRenderLayerMap.INSTANCE.putBlock(ModBlocks.AURIC_VINES_END, RenderLayer.getCutout()); + ParticleFactoryRegistry.getInstance().register(ModParticleTypes.PENEBRIUM_SPORES, PenebriumSporeParticle.Factory::new); ParticleFactoryRegistry.getInstance().register(ModParticleTypes.SCULK_DEPTHS_PORTAL_PARTICLE, ModPortalParticle.Factory::new); diff --git a/src/main/resources/data/sculk_depths/worldgen/biome/infected_columns.json b/src/main/resources/data/sculk_depths/worldgen/biome/infected_columns.json index 1dd75536..dfec9f2f 100644 --- a/src/main/resources/data/sculk_depths/worldgen/biome/infected_columns.json +++ b/src/main/resources/data/sculk_depths/worldgen/biome/infected_columns.json @@ -51,7 +51,7 @@ ["sculk_depths:infected_columns/auric_shroom", "sculk_depths:infected_columns/auric_spore_sprouts"], ["sculk_depths:infected_columns/auric_spore_layer"], - [], + ["sculk_depths:infected_columns/auric_vines"], [] ] } \ No newline at end of file diff --git a/src/main/resources/data/sculk_depths/worldgen/placed_feature/infected_columns/auric_vines.json b/src/main/resources/data/sculk_depths/worldgen/placed_feature/infected_columns/auric_vines.json new file mode 100644 index 00000000..924f65c7 --- /dev/null +++ b/src/main/resources/data/sculk_depths/worldgen/placed_feature/infected_columns/auric_vines.json @@ -0,0 +1,120 @@ +{ + "feature": { + "type": "minecraft:block_column", + "config": { + "allowed_placement": { + "type": "minecraft:matching_blocks", + "blocks": "minecraft:air" + }, + "direction": "down", + "layers": [ + { + "height": { + "type": "minecraft:weighted_list", + "distribution": [ + { + "data": { + "type": "minecraft:uniform", + "max_inclusive": 7, + "min_inclusive": 0 + }, + "weight": 3 + }, + { + "data": { + "type": "minecraft:uniform", + "max_inclusive": 16, + "min_inclusive": 1 + }, + "weight": 2 + } + ] + }, + "provider": { + "type": "minecraft:weighted_state_provider", + "entries": [ + { + "data": { + "Name": "sculk_depths:auric_vines", + "Properties": {} + }, + "weight": 4 + } + ] + } + }, + { + "height": 1, + "provider": { + "type": "minecraft:randomized_int_state_provider", + "property": "age", + "source": { + "type": "minecraft:weighted_state_provider", + "entries": [ + { + "data": { + "Name": "sculk_depths:auric_vines_end", + "Properties": {} + }, + "weight": 4 + } + ] + }, + "values": { + "type": "minecraft:uniform", + "max_inclusive": 25, + "min_inclusive": 23 + } + } + } + ], + "prioritize_tip": true + } + }, + "placement": [ + { + "type": "minecraft:count", + "count": 256 + }, + { + "type": "minecraft:count", + "count":10 + }, + { + "type": "minecraft:in_square" + }, + { + "type": "minecraft:height_range", + "height": { + "type": "minecraft:uniform", + "max_inclusive": { + "absolute": 230 + }, + "min_inclusive": { + "absolute": 0 + } + } + }, + { + "type": "minecraft:environment_scan", + "allowed_search_condition": { + "type": "minecraft:matching_blocks", + "blocks": "minecraft:air" + }, + "direction_of_search": "up", + "max_steps": 12, + "target_condition": { + "type": "minecraft:has_sturdy_face", + "direction": "down" + } + }, + { + "type": "minecraft:random_offset", + "xz_spread": 0, + "y_spread": -1 + }, + { + "type": "minecraft:biome" + } + ] +} \ No newline at end of file