Change whole gui system
This commit is contained in:
@@ -25,8 +25,8 @@ ctx.components.register_block("copper_tools:counter", {
|
||||
Outside a handler, `ctx.world.get_block_data<T>(x, y, z)` reads it.
|
||||
|
||||
- Tile data is saved with the world, and goes away when the block is broken or replaced.
|
||||
- It's **never sent to clients**. To show it to a player, open a [container screen](../inventories/menus.md), or change
|
||||
a block state that the block's `variants` show.
|
||||
- It's **never sent to clients**. To show it to a player, open a [menu](../inventories/menus.md), or change a block
|
||||
state that the block's `variants` show.
|
||||
- Only blocks with tile data run `on_tick`, `on_second` and `on_new_day`.
|
||||
|
||||
## Blocks With Containers
|
||||
|
||||
Reference in New Issue
Block a user