Flywheel/src/main/java/com/jozufozu/flywheel/event/ReloadRenderersEvent.java

20 lines
393 B
Java
Raw Normal View History

2021-06-05 00:56:46 +02:00
package com.jozufozu.flywheel.event;
import javax.annotation.Nullable;
2021-06-05 00:56:46 +02:00
import net.minecraft.client.world.ClientWorld;
import net.minecraftforge.eventbus.api.Event;
public class ReloadRenderersEvent extends Event {
private final ClientWorld world;
public ReloadRenderersEvent(ClientWorld world) {
this.world = world;
}
@Nullable
2021-06-05 00:56:46 +02:00
public ClientWorld getWorld() {
return world;
}
}