use of net.minecraftforge.event.world.ChunkEvent in project SpongeForge by SpongePowered.
the class SpongeForgeEventFactory method createChunkEvent.
public static ChunkEvent createChunkEvent(Event event) {
TargetChunkEvent spongeEvent = (TargetChunkEvent) event;
ChunkEvent forgeEvent = new ChunkEvent(((net.minecraft.world.chunk.Chunk) spongeEvent.getTargetChunk()));
return forgeEvent;
}
Also used :
TargetChunkEvent(org.spongepowered.api.event.world.chunk.TargetChunkEvent)
ChunkEvent(net.minecraftforge.event.world.ChunkEvent)
TargetChunkEvent(org.spongepowered.api.event.world.chunk.TargetChunkEvent)
LoadChunkEvent(org.spongepowered.api.event.world.chunk.LoadChunkEvent)
UnloadChunkEvent(org.spongepowered.api.event.world.chunk.UnloadChunkEvent)
PopulateChunkEvent(net.minecraftforge.event.terraingen.PopulateChunkEvent)
Chunk(org.spongepowered.api.world.Chunk)