Skip to content

Commit

Permalink
auric vines spawn in columns biome
Browse files Browse the repository at this point in the history
  • Loading branch information
gemsb committed Jan 13, 2025
1 parent 9c0842c commit 2d6fd3c
Show file tree
Hide file tree
Showing 3 changed files with 124 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/client/java/net/ugi/sculk_depths/SculkDepthsClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
[]
]
}
Original file line number Diff line number Diff line change
@@ -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"
}
]
}

0 comments on commit 2d6fd3c

Please sign in to comment.