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 Details

    • PlacementContextMixin

      public PlacementContextMixin(net.minecraft.world.level.chunk.ChunkGenerator generator, net.minecraft.world.level.LevelHeightAccessor levelHeightAccessor)