Remove reimporting logic from importer
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
# Importing Create
|
||||
|
||||
`textures/`, `models/`, `blocks/`, `items/`, `tags/` and `recipes/` are made by the importer from Create 0.5.0.j's
|
||||
resources, a checkout of it in `ports/create1.19.3`. Nothing in them is edited by hand, so to change them, change the
|
||||
importer or `remap.json` and import again:
|
||||
`textures/`, `models/`, `blocks/`, `items/`, `tags/` and `recipes/` were first made by the importer from Create
|
||||
0.5.0.j's resources, a checkout of it in `ports/create1.19.3`, and are edited by hand since, as blocks get what they do.
|
||||
Importing again would write over that, so it's only for bringing in something new, into a folder of its own to copy
|
||||
from. These are the commands they were made with:
|
||||
|
||||
```sh
|
||||
rm -rf mods/create/textures mods/create/models mods/create/blocks mods/create/items mods/create/tags mods/create/recipes
|
||||
deno task import texture ports/create1.19.3/src --namespace create --output mods/create/textures --remap mods/create/import/remap.json
|
||||
deno task import model ports/create1.19.3/src --namespace create --output mods/create/models --remap mods/create/import/remap.json
|
||||
deno task import blockstate ports/create1.19.3/src --namespace create --output mods/create/blocks --remap mods/create/import/remap.json --blocks mods/create/import/blocks.json
|
||||
deno task import blockstate ports/create1.19.3/src --namespace create --output mods/create/blocks --remap mods/create/import/remap.json
|
||||
deno task import item ports/create1.19.3/src --namespace create --output mods/create/items --remap mods/create/import/remap.json
|
||||
deno task import tag ports/create1.19.3/src/generated --namespace create --output mods/create/tags --remap mods/create/import/remap.json
|
||||
deno task import tag ports/create1.19.3/src/generated --namespace forge --output mods/create/tags --remap mods/create/import/remap.json
|
||||
@@ -21,9 +22,9 @@ then tags, then recipes. Forge's shared tags, like `forge:ingots/brass`, become
|
||||
Create's stonecutting and pressing ones so far. The stonecutting ones that cut a stone bworld doesn't have yet (granite,
|
||||
diorite, deepslate, calcite, tuff, dripstone) are left out until it does, and so is pressing paper and dirt paths.
|
||||
|
||||
Java sets what blocks do in code, so every block gets placeholders (a second to mine with anything, dropping itself).
|
||||
`blocks.json` gives blocks what they have instead, by id, like the components that make a shaft turn and a hand crank
|
||||
turn it. Each block's fields there replace the ones the importer would write.
|
||||
Java sets what blocks do in code, so every block got placeholders (a second to mine with anything, dropping itself).
|
||||
What a block really has, like the components that make a shaft turn and a hand crank turn it, is written into its file
|
||||
in `blocks/` by hand.
|
||||
|
||||
`remap.json` gives three of Create's models other names, since `block/radial_chassis/side_x` and
|
||||
`block/radial_chassis_side_x` would both be `create:block_radial_chassis_side_x`.
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
{
|
||||
"create:shaft": {
|
||||
"components": {
|
||||
"create:kinetic": { "axis": "axis" }
|
||||
}
|
||||
},
|
||||
"create:cogwheel": {
|
||||
"components": {
|
||||
"create:kinetic": { "axis": "axis", "cog": "small" }
|
||||
}
|
||||
},
|
||||
"create:large_cogwheel": {
|
||||
"components": {
|
||||
"create:kinetic": { "axis": "axis", "cog": "large" }
|
||||
}
|
||||
},
|
||||
"create:mechanical_press": {
|
||||
"components": {
|
||||
"create:kinetic": { "facing": "facing", "horizontal": true },
|
||||
"create:mechanical_press": {}
|
||||
}
|
||||
},
|
||||
"create:hand_crank": {
|
||||
"interactive": true,
|
||||
"components": {
|
||||
"create:kinetic": { "facing": "facing", "shaft": "back" },
|
||||
"create:hand_crank": { "speed": 32 }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user