Hand crank and shafts
This commit is contained in:
@@ -8,7 +8,7 @@ importer or `remap.json` and import again:
|
||||
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
|
||||
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 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,6 +21,10 @@ then tags, then recipes. Forge's shared tags, like `forge:ingots/brass`, become
|
||||
Create's stonecutting ones so far, and the ones that cut a stone bworld doesn't have yet (granite, diorite, deepslate,
|
||||
calcite, tuff, dripstone) are left out until it does.
|
||||
|
||||
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.
|
||||
|
||||
`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`.
|
||||
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"create:shaft": {
|
||||
"components": {
|
||||
"create:kinetic": { "axis": "axis" }
|
||||
}
|
||||
},
|
||||
"create:hand_crank": {
|
||||
"interactive": true,
|
||||
"components": {
|
||||
"create:kinetic": { "facing": "facing", "shaft": "back" },
|
||||
"create:hand_crank": { "speed": 32 }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user