Move curios into the main bworld mod
This commit is contained in:
@@ -97,7 +97,7 @@ At a block, the block's own [interaction](../blocks/components.md#interacting) c
|
||||
used instead of being placed.
|
||||
|
||||
`ctx.items.components(id)` gives the components an item's JSON lists and their parameters, so a mod can read its
|
||||
components' parameters for an item without a stack, like Curios does for `curios:attribute_modifiers`.
|
||||
components' parameters for an item without a stack, like the base game's curios slots do for `bworld:curio_modifiers`.
|
||||
|
||||
`on_use` doesn't say which block was clicked. For that, pair it with a block component's `on_interact`, the way the
|
||||
watering can uses `bworld:water_source`, or subscribe to the `block_interact` [event](../concepts/events.md).
|
||||
|
||||
Reference in New Issue
Block a user