Move effects into the modding api
This commit is contained in:
@@ -51,6 +51,8 @@ export function setup(ctx: ServerContext) {
|
||||
}
|
||||
```
|
||||
|
||||
Items have components the same way, and so do [status effects](../entities/effects.md#effect-components).
|
||||
|
||||
Components can only be registered during `setup`, and only in the mod's own namespace. Once every mod's `setup` has run,
|
||||
a block or item that lists a component nobody registered stops the server from starting, naming the block and the
|
||||
component.
|
||||
|
||||
Reference in New Issue
Block a user