[1.19.x] Add IForgeBlock#onTreeGrow to replace IForgeBlock#onPlantGrow from 1.16 (#8999)

This commit is contained in:
thedarkcolour authored and GitHub committed 2022-09-03 20:07:09 +01:00
1 parent 2a4230868f
commit 4e2d656e9d
16 files changed
+190

No files matched your search

+2
View File
@@ -22,6 +22,8 @@ license="LGPL v2.1"
[[mods]]
modId="on_tree_grow_block_test"
[[mods]]
modId="containertypetest"
[[mods]]
@@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "on_tree_grow_block_test:block/test_dirt"}
}
}
@@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "on_tree_grow_block_test:block/test_grass_block"}
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "on_tree_grow_block_test:blocks/test_dirt"
}
}
@@ -0,0 +1,11 @@
{
"parent": "minecraft:block/grass_block",
"textures": {
"particle": "on_tree_grow_block_test:blocks/test_dirt",
"bottom": "on_tree_grow_block_test:blocks/test_dirt",
"top": "on_tree_grow_block_test:blocks/test_grass_block_top",
"side": "on_tree_grow_block_test:blocks/test_grass_block_side",
"overlay": "on_tree_grow_block_test:blocks/test_grass_block_side_overlay"
},
"render_type": "cutout_mipped"
}
@@ -0,0 +1,3 @@
{
"parent": "on_tree_grow_block_test:block/test_dirt"
}
@@ -0,0 +1,3 @@
{
"parent": "on_tree_grow_block_test:block/test_grass_block"
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 477 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 707 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 B

@@ -0,0 +1,7 @@
{
"replace": false,
"values": [
"on_tree_grow_block_test:test_dirt",
"on_tree_grow_block_test:test_grass_block"
]
}