ForgePatch/common/net/minecraftforge/event/terraingen/InitNoiseGensEvent.java

22 lines
629 B
Java
Raw Normal View History

package net.minecraftforge.event.terraingen;
import java.util.Random;
2012-12-13 07:27:57 +00:00
import net.minecraft.world.World;
import net.minecraft.world.gen.NoiseGeneratorOctaves;
import net.minecraftforge.event.world.*;
public class InitNoiseGensEvent extends WorldEvent
{
public final Random rand;
public final NoiseGeneratorOctaves[] originalNoiseGens;
public NoiseGeneratorOctaves[] newNoiseGens;
public InitNoiseGensEvent(World world, Random rand, NoiseGeneratorOctaves[] original)
{
super(world);
this.rand = rand;
originalNoiseGens = original;
newNoiseGens = original.clone();
}
}