2021-06-05 00:56:46 +02:00
|
|
|
package com.jozufozu.flywheel.event;
|
|
|
|
|
2021-07-28 02:31:58 +02:00
|
|
|
import javax.annotation.Nullable;
|
|
|
|
|
2021-09-15 08:45:29 +02:00
|
|
|
import net.minecraft.client.multiplayer.ClientLevel;
|
2021-06-05 00:56:46 +02:00
|
|
|
import net.minecraftforge.eventbus.api.Event;
|
|
|
|
|
|
|
|
public class ReloadRenderersEvent extends Event {
|
2021-09-15 08:45:29 +02:00
|
|
|
private final ClientLevel world;
|
2021-06-05 00:56:46 +02:00
|
|
|
|
2021-09-15 08:45:29 +02:00
|
|
|
public ReloadRenderersEvent(ClientLevel world) {
|
2021-06-05 00:56:46 +02:00
|
|
|
this.world = world;
|
|
|
|
}
|
|
|
|
|
2021-07-28 02:31:58 +02:00
|
|
|
@Nullable
|
2021-09-15 08:45:29 +02:00
|
|
|
public ClientLevel getWorld() {
|
2021-06-05 00:56:46 +02:00
|
|
|
return world;
|
|
|
|
}
|
|
|
|
}
|