2012-11-19 04:27:43 +00:00
|
|
|
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;
|
2012-11-19 04:27:43 +00:00
|
|
|
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();
|
|
|
|
}
|
|
|
|
}
|