Shipping bin block
This commit is contained in:
@@ -156,6 +156,7 @@ catch up. If it's further behind than that, it skips the rest and logs a warning
|
||||
| Component | Params | What it does |
|
||||
| ----------------------- | --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `bworld:storage` | `rows` | A chest: `rows` × 9 slots, dropped when it's broken. |
|
||||
| `bworld:shipping_bin` | `rows` | Like `bworld:storage`, and every morning at 06:00 sells what's in it with a `base_sell_value` for coins. |
|
||||
| `bworld:furnace` | none | Smelts with `furnace` and `fuel` [recipes](../resources/recipes.md). Needs `lit` and `facing` states, see `blocks/furnace.json`. |
|
||||
| `bworld:smithing_table` | none | Upgrades tools with `smithing` recipes. |
|
||||
| `bworld:hoeable` | `tool`, `into` | Right clicking with a tool of type `tool` turns it into `into`, like a hoe on grass. |
|
||||
|
||||
@@ -167,6 +167,7 @@ watering can uses `bworld:water_source`, or subscribe to the `block_interact` [e
|
||||
ctx.items.exists("bworld:carrot"); // true
|
||||
ctx.items.max_stack("bworld:wood_pickaxe"); // 1
|
||||
ctx.items.tool("bworld:wood_pickaxe"); // "pickaxe", or undefined for items that aren't tools
|
||||
ctx.items.sell_value("bworld:copper_coin"); // 1, or undefined for items without a base_sell_value
|
||||
|
||||
player.give_item("bworld:carrot", 3); // what doesn't fit drops at their feet
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user