github-actions
released this
10 Sep 18:30
·
167 commits
to main
since this release
Patch Changes
-
8546452: MUD config now supports a
deploy.customWorld
option that, when used with the CLI, will deploy the specified custom World implementation.
Custom implementations must still follow the World protocol.If you want to extend the world with new functions or override existing registered functions, we recommend using root systems.
However, there are rare cases where this may not be enough to modify the native/internal World behavior.
Note that deploying a custom World opts out of the world factory, deterministic world deploys, and upgradeable implementation proxy.import { defineWorld } from "@latticexyz/world"; export default defineWorld({ customWorld: { // path to custom world source from project root sourcePath: "src/CustomWorld.sol", // custom world contract name name: "CustomWorld", }, });
- @latticexyz/[email protected]
- @latticexyz/[email protected]
- @latticexyz/[email protected]
- @latticexyz/[email protected]
- @latticexyz/[email protected]