Skip to content

Commit

Permalink
dried forest world gen changes + dried grass block added
Browse files Browse the repository at this point in the history
  • Loading branch information
gemsb committed Jan 14, 2025
1 parent 368f8a6 commit 2a90d16
Show file tree
Hide file tree
Showing 18 changed files with 138 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ public void onInitializeClient() {
BlockRenderLayerMap.INSTANCE.putBlock(ModBlocks.AURIC_VINES_END, RenderLayer.getCutout());

BlockRenderLayerMap.INSTANCE.putBlock(ModBlocks.QELDRY_BERRY_BUSH, RenderLayer.getCutout());
BlockRenderLayerMap.INSTANCE.putBlock(ModBlocks.DRIED_GRASS, RenderLayer.getCutout());


ParticleFactoryRegistry.getInstance().register(ModParticleTypes.PENEBRIUM_SPORES, PenebriumSporeParticle.Factory::new);
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/net/ugi/sculk_depths/block/ModBlocks.java
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,10 @@ public class ModBlocks {
public static final Block QELDRY_BERRY_BUSH = registerBlock("qeldry_berry_bush",
new QeldryBerryBush(AbstractBlock.Settings.copy(Blocks.SWEET_BERRY_BUSH)), ModItemGroup.SCULK_DEPTHS_BLOCKS);

public static final Block DRIED_GRASS = registerBlock("dried_grass",
new ShortPlantBlock(AbstractBlock.Settings.copy(Blocks.SHORT_GRASS)), ModItemGroup.SCULK_DEPTHS_BLOCKS);


//auric //TODO check blocksettings


Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "sculk_depths:block/dried_grass"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "sculk_depths:block/dried_grass"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "sculk_depths:block/dried_grass"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"values": [
"sculk_depths:crumbling_dirt"
"sculk_depths:crumbling_dirt",
"minecraft:coarse_dirt",
"minecraft:packed_mud"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,15 @@
]
},
"features": [
[
"sculk_depths:dried_valtrox_forest/coarse_dirt_patch",
"sculk_depths:dried_valtrox_forest/mud_patch"
],
[],
[],
[],
[],
[

],
[
"sculk_depths:dried_valtrox_forest/coarse_dirt_patch",
"sculk_depths:dried_valtrox_forest/grass",
"sculk_depths:dried_valtrox_forest/berry_bush",
"sculk_depths:dried_valtrox_forest/dead_bush",
Expand All @@ -61,8 +62,7 @@
"sculk_depths:dried_valtrox_forest/stone_pile",
"sculk_depths:dried_valtrox_forest/dried_valtrox",
"sculk_depths:dried_valtrox_forest/small_dried_valtrox",
"sculk_depths:dried_valtrox_forest/fallen_dried_valtrox",
"sculk_depths:dried_valtrox_forest/mud_patch"
"sculk_depths:dried_valtrox_forest/fallen_dried_valtrox"
]
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,18 @@
},
{
"type": "minecraft:biome"
},
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:matching_blocks",
"offset": [
0,
-1,
0
],
"blocks": "#sculk_depths:dried_valtrox_forest_ground"
}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,18 @@
},
{
"type": "minecraft:biome"
},
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:matching_blocks",
"offset": [
0,
-1,
0
],
"blocks": "#sculk_depths:dried_valtrox_forest_ground"
}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,18 @@
},
{
"type": "minecraft:biome"
},
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:matching_blocks",
"offset": [
0,
-1,
0
],
"blocks": "#sculk_depths:dried_valtrox_forest_ground"
}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,7 @@
-1,
0
],
"blocks": [
"sculk_depths:crumbling_dirt",
"minecraft:deepslate"
]
"blocks": "#sculk_depths:dried_valtrox_forest_ground"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,7 @@
-1,
0
],
"blocks": [
"sculk_depths:crumbling_dirt",
"minecraft:deepslate"
]
"blocks": "#sculk_depths:dried_valtrox_forest_ground"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"to_place": {
"type": "minecraft:simple_state_provider",
"state": {
"Name": "minecraft:short_grass"
"Name": "sculk_depths:dried_grass"
}
}
}
Expand All @@ -34,6 +34,7 @@
"type": "minecraft:count",
"count": 4
},

{
"type": "minecraft:in_square"
},
Expand All @@ -43,6 +44,18 @@
},
{
"type": "minecraft:biome"
},
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:matching_blocks",
"offset": [
0,
-1,
0
],
"blocks": "#sculk_depths:dried_valtrox_forest_ground"
}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,18 @@
},
{
"type": "minecraft:biome"
},
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:matching_blocks",
"offset": [
0,
-1,
0
],
"blocks": "#sculk_depths:dried_valtrox_forest_ground"
}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,7 @@
-1,
0
],
"blocks": [
"sculk_depths:crumbling_dirt",
"minecraft:deepslate"
]
"blocks": "#sculk_depths:dried_valtrox_forest_ground"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,21 @@
}
},
"placement": [
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:matching_blocks",
"offset": [
0,
0,
0
],
"blocks": [
"minecraft:air",
"sculk_depths:crumbling_dirt"
]
}
},
{
"type": "minecraft:block_predicate_filter",
"predicate": {
Expand All @@ -38,7 +53,7 @@
-1,
0
],
"blocks": "sculk_depths:crumbling_dirt"
"blocks": "#sculk_depths:dried_valtrox_forest_ground"
}
}
]
Expand All @@ -62,6 +77,18 @@
},
{
"type": "minecraft:biome"
},
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:matching_blocks",
"offset": [
0,
-1,
0
],
"blocks": "#sculk_depths:dried_valtrox_forest_ground"
}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,18 @@
},
{
"type": "minecraft:biome"
},
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:matching_blocks",
"offset": [
0,
-1,
0
],
"blocks": "#sculk_depths:dried_valtrox_forest_ground"
}
}
]
}

0 comments on commit 2a90d16

Please sign in to comment.