Package vazkii.botania.mixin
Class PlacementContextMixin
java.lang.Object
net.minecraft.world.level.levelgen.WorldGenerationContext
vazkii.botania.mixin.PlacementContextMixin
public class PlacementContextMixin
extends net.minecraft.world.level.levelgen.WorldGenerationContext
Based on code from CarpetSkyAdditions. Ensures terrain-sensitive structures generate where they should.
-
Constructor Summary
ConstructorsConstructorDescriptionPlacementContextMixin(net.minecraft.world.level.chunk.ChunkGenerator generator, net.minecraft.world.level.LevelHeightAccessor levelHeightAccessor) -
Method Summary
Methods inherited from class net.minecraft.world.level.levelgen.WorldGenerationContext
getGenDepth, getMinGenY
-
Constructor Details
-
PlacementContextMixin
public PlacementContextMixin(net.minecraft.world.level.chunk.ChunkGenerator generator, net.minecraft.world.level.LevelHeightAccessor levelHeightAccessor)
-