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
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
public CreateDecorator(Biome biome, BiomeDecorator original)
public BiomeDecorator getOriginalBiomeDecorator()
public BiomeDecorator getNewBiomeDecorator()
public void setNewBiomeDecorator(BiomeDecorator newBiomeDecorator)