mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-12-22 14:59:22 +01:00
re-added world gen stuff
This commit is contained in:
parent
3b81d8eb68
commit
cdb1bb1b49
6 changed files with 30 additions and 16 deletions
|
@ -39,22 +39,6 @@ public class CommonEvents {
|
|||
private static final Method GET_LOADED_CHUNKS_METHOD = ObfuscationReflectionHelper.findMethod(ChunkMap.class, "m_140416_");
|
||||
private static final ListMultimap<UUID, ChunkPos> PENDING_AURA_CHUNKS = ArrayListMultimap.create();
|
||||
|
||||
// TODO apparently this changed a ton to some weird biome modifier thing
|
||||
/*@SubscribeEvent
|
||||
public void onBiomeLoad(BiomeLoadingEvent event) {
|
||||
if (ModConfig.instance.auraBlooms.get()) {
|
||||
event.getGeneration().addFeature(Decoration.VEGETAL_DECORATION, ModFeatures.Placed.AURA_BLOOM);
|
||||
switch (event.getCategory()) {
|
||||
case DESERT -> event.getGeneration().addFeature(Decoration.VEGETAL_DECORATION, ModFeatures.Placed.AURA_CACTUS);
|
||||
case NETHER -> {
|
||||
event.getGeneration().addFeature(Decoration.VEGETAL_DECORATION, ModFeatures.Placed.CRIMSON_AURA_MUSHROOM);
|
||||
event.getGeneration().addFeature(Decoration.VEGETAL_DECORATION, ModFeatures.Placed.WARPED_AURA_MUSHROOM);
|
||||
}
|
||||
case MUSHROOM -> event.getGeneration().addFeature(Decoration.VEGETAL_DECORATION, ModFeatures.Placed.AURA_MUSHROOM);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
@SubscribeEvent
|
||||
public void onChunkCapsAttach(AttachCapabilitiesEvent<LevelChunk> event) {
|
||||
var chunk = event.getObject();
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"type": "forge:add_features",
|
||||
"biomes": "#forge:is_overworld",
|
||||
"features": "naturesaura:aura_bloom",
|
||||
"step": "vegetal_decoration"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"type": "forge:add_features",
|
||||
"biomes": "#forge:is_sandy",
|
||||
"features": "naturesaura:aura_cactus",
|
||||
"step": "vegetal_decoration"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"type": "forge:add_features",
|
||||
"biomes": "#forge:is_mushroom",
|
||||
"features": "naturesaura:aura_mushroom",
|
||||
"step": "vegetal_decoration"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"type": "forge:add_features",
|
||||
"biomes": "#minecraft:is_nether",
|
||||
"features": "naturesaura:crimson_aura_mushroom",
|
||||
"step": "vegetal_decoration"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"type": "forge:add_features",
|
||||
"biomes": "#minecraft:is_nether",
|
||||
"features": "naturesaura:warped_aura_mushroom",
|
||||
"step": "vegetal_decoration"
|
||||
}
|
Loading…
Reference in a new issue