public static class BiomeEvent.CreateDecorator extends BiomeEvent
DeferredBiomeDecorator.fireCreateEventAndReplace(Biome)
.originalBiomeDecorator
contains the original BiomeDecorator that would be used in vanilla.
newBiomeDecorator
contains the new BiomeDecoration to be used by Minecraft.
Cancelable
.
HasResult
MinecraftForge.TERRAIN_GEN_BUS
.BiomeEvent.BiomeColor, BiomeEvent.CreateDecorator, BiomeEvent.GetFoliageColor, BiomeEvent.GetGrassColor, BiomeEvent.GetVillageBlockID, BiomeEvent.GetWaterColor
Event.HasResult, Event.Result
Modifier and Type | Field and Description |
---|---|
private BiomeDecorator |
newBiomeDecorator |
private BiomeDecorator |
originalBiomeDecorator |
Constructor and Description |
---|
CreateDecorator(Biome biome,
BiomeDecorator original) |
Modifier and Type | Method and Description |
---|---|
BiomeDecorator |
getNewBiomeDecorator() |
BiomeDecorator |
getOriginalBiomeDecorator() |
void |
setNewBiomeDecorator(BiomeDecorator newBiomeDecorator) |
getBiome
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
private final BiomeDecorator originalBiomeDecorator
private BiomeDecorator newBiomeDecorator
public CreateDecorator(Biome biome, BiomeDecorator original)
public BiomeDecorator getOriginalBiomeDecorator()
public BiomeDecorator getNewBiomeDecorator()
public void setNewBiomeDecorator(BiomeDecorator newBiomeDecorator)