Skip to content

Commit

Permalink
DataGen for new models
Browse files Browse the repository at this point in the history
  • Loading branch information
SihenZhang committed Jan 30, 2025
1 parent 99ebf38 commit 166450d
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 51 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 1.20.1 2024-02-21T23:15:41.3126671 Block States: crockpot
// 1.20.1 2025-01-30T23:09:21.9544478 Block States: crockpot
bde83cad5ec9fda7a269a7b3b883216f00e62be5 assets/crockpot/blockstates/asparaguses.json
0e8353b1eefb4d79c54beeb9ada51e9bfd9afdd9 assets/crockpot/blockstates/asparagus_soup.json
f74b7beee5efc17d4d1410b14e6d341ee61abb9f assets/crockpot/blockstates/avaj.json
Expand Down Expand Up @@ -74,10 +74,10 @@ a11b1c7ddbd00ac5e1268348c92810b3b1fa0be3 assets/crockpot/models/block/corns_stag
372e02efa12f665c61e0ca81eee02f9909790062 assets/crockpot/models/block/corns_stage5.json
3319d782e0d057be90244e127118aa69766387d6 assets/crockpot/models/block/corns_stage6.json
c32bae0e228748693113a223f7a322f291c00a6f assets/crockpot/models/block/corns_stage7.json
e46b0dd200950e680192b9147652442f740660d0 assets/crockpot/models/block/eggplants_stage0.json
a938d0befa10aaaac167f35f311cf618f9c22eaa assets/crockpot/models/block/eggplants_stage1.json
b99982d3993c87c25ec5e1fa7c05b4f06f5161d1 assets/crockpot/models/block/eggplants_stage2.json
2729ca13223db5e8c50ba036024c877f5b0675e4 assets/crockpot/models/block/eggplants_stage3.json
2e66b77a2c2942825eb47f22b59b02a62e257733 assets/crockpot/models/block/eggplants_stage0.json
41d8f6fcd2e03f2fb8b4e4b1b9887614bf65db59 assets/crockpot/models/block/eggplants_stage1.json
585722fe9a7bd5837c72f325623700681bdf051b assets/crockpot/models/block/eggplants_stage2.json
199c0b88f0b37dcc8864b3fc0ec3cc9116516240 assets/crockpot/models/block/eggplants_stage3.json
6af8a27c4c9e124c4b860e65026bac814067f5ed assets/crockpot/models/block/garlics_stage0.json
cec528541c6d5a9d9b4b3218ba5100b29c0447ce assets/crockpot/models/block/garlics_stage1.json
5959eaabfd51a40c0ecbf5fd5bec783b2907d9e3 assets/crockpot/models/block/garlics_stage2.json
Expand All @@ -94,4 +94,3 @@ dd5f7833a263d70737968bec9de61efef6c0208d assets/crockpot/models/block/peppers_st
2ef81b2b11b451d6b5b631b0ee41509bfeb99a07 assets/crockpot/models/block/tomatoes_stage1.json
ae2f2fdbfb2c0dd94f8ff9f4f070477f890a46b1 assets/crockpot/models/block/tomatoes_stage2.json
78685716363bc060923aef1fa1740f680aca9109 assets/crockpot/models/block/tomatoes_stage3.json
0bcd916ab5a8a43b23f0d5009c7f632c20bcd426 assets/crockpot/models/block/unknown_crops.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parent": "minecraft:block/crop",
"parent": "minecraft:block/cross",
"render_type": "minecraft:cutout",
"textures": {
"crop": "crockpot:block/eggplants_stage0"
"cross": "crockpot:block/eggplants_stage0"
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parent": "minecraft:block/crop",
"parent": "minecraft:block/cross",
"render_type": "minecraft:cutout",
"textures": {
"crop": "crockpot:block/eggplants_stage1"
"cross": "crockpot:block/eggplants_stage1"
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parent": "minecraft:block/crop",
"parent": "minecraft:block/cross",
"render_type": "minecraft:cutout",
"textures": {
"crop": "crockpot:block/eggplants_stage2"
"cross": "crockpot:block/eggplants_stage2"
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parent": "minecraft:block/crop",
"parent": "minecraft:block/cross",
"render_type": "minecraft:cutout",
"textures": {
"crop": "crockpot:block/eggplants_stage3"
"cross": "crockpot:block/eggplants_stage3"
}
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ protected void registerStatesAndModels() {
this.crockPotBlock(CrockPotBlocks.CROCK_POT.get());
this.crockPotBlock(CrockPotBlocks.PORTABLE_CROCK_POT.get());

this.simpleBlock(CrockPotBlocks.UNKNOWN_CROPS.get(), this.models().crop("unknown_crops", RLUtils.createRL("block/unknown_crops")).renderType(RLUtils.createVanillaRL("cutout")));
// this.simpleBlock(CrockPotBlocks.UNKNOWN_CROPS.get(), this.models().crop("unknown_crops", RLUtils.createRL("block/unknown_crops")).renderType(RLUtils.createVanillaRL("cutout")));
this.simpleBlock(CrockPotBlocks.UNKNOWN_CROPS.get(), this.models().getExistingFile(RLUtils.createRL("block/unknown_crops")));
this.customStageCropBlock(CrockPotBlocks.ASPARAGUS.get(), AbstractCrockPotCropBlock.AGE, List.of(0, 0, 1, 1, 2, 2, 2, 3));
this.customStageCropBlock(CrockPotBlocks.CORN.get(), CornBlock.AGE, List.of());
this.customStageCropBlock(CrockPotBlocks.EGGPLANT.get(), AbstractCrockPotCropBlock.AGE, List.of(0, 0, 1, 1, 2, 2, 2, 3));
this.customStageCrossBlock(CrockPotBlocks.EGGPLANT.get(), AbstractCrockPotCropBlock.AGE, List.of(0, 0, 1, 1, 2, 2, 2, 3));
this.customStageCropBlock(CrockPotBlocks.GARLIC.get(), AbstractCrockPotCropBlock.AGE, List.of(0, 0, 1, 1, 2, 2, 2, 3));
this.customStageCropBlock(CrockPotBlocks.ONION.get(), AbstractCrockPotCropBlock.AGE, List.of(0, 0, 1, 1, 2, 2, 2, 3));
this.customStageCropBlock(CrockPotBlocks.PEPPER.get(), AbstractCrockPotCropBlock.AGE, List.of(0, 0, 1, 1, 2, 2, 2, 3));
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"render_type": "minecraft:cutout",
"credit": "Made with Blockbench",
"ambientocclusion": false,
"textures": {
Expand Down

0 comments on commit 166450d

Please sign in to comment.