Class CraterGenerator

java.lang.Object
com.hbm_m.util.explosions.nuclear.CraterGenerator

public class CraterGenerator extends Object
Crater Generator v21.0 - BIOME SYNC FIX FIXED: Y-coordinate calculation synchronized with biomes FIXED: Distance calculation uses only XZ (2D radius) for zone boundaries ENHANCED: Biome layer detection for seamless vertical coverage OPTIMIZED: Proper wavy border consistency
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    generateCrater(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos centerPos, net.minecraft.world.level.block.Block sellafit1, net.minecraft.world.level.block.Block sellafit2, net.minecraft.world.level.block.Block sellafit3, net.minecraft.world.level.block.Block sellafit4, net.minecraft.world.level.block.Block wasteLogBlock, net.minecraft.world.level.block.Block wastePlanksBlock, net.minecraft.world.level.block.Block burnedGrassBlock, net.minecraft.world.level.block.Block deadDirtBlocks)
     
    static void
    generateCrater(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos centerPos, net.minecraft.world.level.block.Block sellafit1, net.minecraft.world.level.block.Block sellafit2, net.minecraft.world.level.block.Block sellafit3, net.minecraft.world.level.block.Block sellafit4, net.minecraft.world.level.block.Block wasteLogBlock, net.minecraft.world.level.block.Block wastePlanksBlock, net.minecraft.world.level.block.Block burnedGrassBlock, net.minecraft.world.level.block.Block deadDirtBlocks, CraterGenerationFlags generationFlags)
     
     
    getDebugRays(net.minecraft.core.BlockPos centerPos)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • RAY_TRAIL_DURATION

      public static long RAY_TRAIL_DURATION
  • Constructor Details

    • CraterGenerator

      public CraterGenerator()
  • Method Details

    • generateCrater

      public static void generateCrater(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos centerPos, net.minecraft.world.level.block.Block sellafit1, net.minecraft.world.level.block.Block sellafit2, net.minecraft.world.level.block.Block sellafit3, net.minecraft.world.level.block.Block sellafit4, net.minecraft.world.level.block.Block wasteLogBlock, net.minecraft.world.level.block.Block wastePlanksBlock, net.minecraft.world.level.block.Block burnedGrassBlock, net.minecraft.world.level.block.Block deadDirtBlocks)
    • generateCrater

      public static void generateCrater(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos centerPos, net.minecraft.world.level.block.Block sellafit1, net.minecraft.world.level.block.Block sellafit2, net.minecraft.world.level.block.Block sellafit3, net.minecraft.world.level.block.Block sellafit4, net.minecraft.world.level.block.Block wasteLogBlock, net.minecraft.world.level.block.Block wastePlanksBlock, net.minecraft.world.level.block.Block burnedGrassBlock, net.minecraft.world.level.block.Block deadDirtBlocks, CraterGenerationFlags generationFlags)
    • getDebugRays

      public static List<CraterGenerator.RayData> getDebugRays(net.minecraft.core.BlockPos centerPos)
    • getAllDebugRays

      public static List<CraterGenerator.RayData> getAllDebugRays()