Rename engine to cubi
This commit is contained in:
@@ -18,7 +18,7 @@ a snowy biome.
|
||||
"format_version": 1,
|
||||
"block": {
|
||||
"id": "bworld:cabbages",
|
||||
"model": "engine:cross",
|
||||
"model": "cubi:cross",
|
||||
"textures": { "cross": "bworld:cabbages_stage0" },
|
||||
"variants": {
|
||||
"age=1": { "textures": { "cross": "bworld:cabbages_stage1" } },
|
||||
|
||||
@@ -30,21 +30,21 @@ of tier 1 (stone or copper) or better.
|
||||
|
||||
### Looks
|
||||
|
||||
| Field | Default | Meaning |
|
||||
| ---------------- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `id` | required | The block's id. |
|
||||
| `name` | from the id | What players see. `copper_tools:copper_block` is "Copper Block" when not set. Its item uses it too. |
|
||||
| `textures` | required | One texture id for every side, `{ "top", "bottom", "side" }`, or `{ "front", "side" }` (optionally with `top` and `bottom`) for a block that faces a way. With another `model`, the model's texture variables. |
|
||||
| `model` | `engine:cube` | The [block model](../resources/models.md). |
|
||||
| `variants` | none | Other models, textures or rotations for some [states](states.md). |
|
||||
| `parts` | none | Models drawn together depending on [states](states.md), like a fence's post and bars. See [Parts](../resources/models.md#parts). |
|
||||
| `item_model` | none | The model its item is drawn with. See [Item Models](../resources/models.md#item-models). |
|
||||
| `render_layer` | `solid` | `solid`; `cutout` for texels that are fully opaque or fully clear, like leaves; `translucent` for blended ones, like water and glass. |
|
||||
| `cull_same` | see meaning | Hide the faces between two of this block. `true` for translucent blocks, `false` otherwise. |
|
||||
| `alpha` | `1` | Opacity, for translucent blocks. |
|
||||
| `tint` | none | Draws its textures in a color, see [below](#tinting). |
|
||||
| `light_emission` | `0` | Light it gives off, 0-15. A torch is 14. |
|
||||
| `light_opacity` | see meaning | How much light passing through it loses, 0-15. `15` for solid blocks, `0` otherwise. Leaves and water use `1`. |
|
||||
| Field | Default | Meaning |
|
||||
| ---------------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `id` | required | The block's id. |
|
||||
| `name` | from the id | What players see. `copper_tools:copper_block` is "Copper Block" when not set. Its item uses it too. |
|
||||
| `textures` | required | One texture id for every side, `{ "top", "bottom", "side" }`, or `{ "front", "side" }` (optionally with `top` and `bottom`) for a block that faces a way. With another `model`, the model's texture variables. |
|
||||
| `model` | `cubi:cube` | The [block model](../resources/models.md). |
|
||||
| `variants` | none | Other models, textures or rotations for some [states](states.md). |
|
||||
| `parts` | none | Models drawn together depending on [states](states.md), like a fence's post and bars. See [Parts](../resources/models.md#parts). |
|
||||
| `item_model` | none | The model its item is drawn with. See [Item Models](../resources/models.md#item-models). |
|
||||
| `render_layer` | `solid` | `solid`; `cutout` for texels that are fully opaque or fully clear, like leaves; `translucent` for blended ones, like water and glass. |
|
||||
| `cull_same` | see meaning | Hide the faces between two of this block. `true` for translucent blocks, `false` otherwise. |
|
||||
| `alpha` | `1` | Opacity, for translucent blocks. |
|
||||
| `tint` | none | Draws its textures in a color, see [below](#tinting). |
|
||||
| `light_emission` | `0` | Light it gives off, 0-15. A torch is 14. |
|
||||
| `light_opacity` | see meaning | How much light passing through it loses, 0-15. `15` for solid blocks, `0` otherwise. Leaves and water use `1`. |
|
||||
|
||||
Only `solid` blocks hide their neighbors' faces. Blocks that aren't full cubes, like plants, should use `cutout`, or
|
||||
there will be holes in the world behind them.
|
||||
|
||||
@@ -53,7 +53,7 @@ a texture per growth stage:
|
||||
"format_version": 1,
|
||||
"block": {
|
||||
"id": "bworld:wheat",
|
||||
"model": "engine:crop",
|
||||
"model": "cubi:crop",
|
||||
"textures": { "crop": "bworld:wheat_stage_0" },
|
||||
"variants": {
|
||||
"age=1": { "textures": { "crop": "bworld:wheat_stage_1" } },
|
||||
|
||||
Reference in New Issue
Block a user