# Fabric Events Lifecycle (V0)
## Drafting note - Not in final draft
By commenting on this document, you agree to license your comments under the Apache 2.0 License <http://www.apache.org/licenses/LICENSE-2.0.txt> as this is intended to go into a final fabric api readme PR.
By commenting, you agree to license your suggestions/comments under apache 2.0 for use with improving these readmes. If you do not agree to the terms, please do not comment on this this document.
## This module is deprecated; you should migrate to [Fabric Lifecycle Events (V1)](/d-7hLof6SNKTHvKBsmNAmg)
Below is details on how to migrate:
### `WorldTickCallback`
This event has been replaced by an event specifcally for world ticking on a logical server or client.
#### For a server worlds
For mods which listen to a world ticking on a logical server, `ServerTickEvents.END_WORLD_TICK` should be used.
For example, the below method may have been used to call logic when a server world has ticked.
```java=
public void onInitialize() {
WorldTickCallback.EVENT.register(world -> {
// Only call on logical server
if (!world.isClient()) {
...
}
});
}
```
Would become the following:
```java=
public void onInitialize() {
ServerTickEvents.END_WORLD_TICK.register((server, world) -> {
...
});
}
```
The logical side check can be omited since the new event is only called on a logical server.
TODO: finish other migration tutorials in the listing.