#[CRASH] Attempting to make an ore size bigger than 64

8 messages · Page 1 of 1 (latest)

silver plaza
#

For some reason, when i try to change the ore size to be bigger than 64, game crashes when i try to create a world.

WorldgenEvents.add(event=>{
    const { anchors } = event
    event.addOre(ore=>{
        ore.id='minecraft:iron_ore_big'
        ore.biomes={}
        ore.addTarget('#minecraft:stone_ore_replaceables', 'minecraft:iron_ore') 
        ore.addTarget('minecraft:deepslate', 'minecraft:deepslate_iron_ore') 
        ore.count(1)             // generate between 15 and 50 veins (chosen at random), you could use a single number here for a fixed amount of blocks
      .squared()                    // randomly spreads the ores out across the chunk, instead of generating them in a column
      .triangleHeight(                      // generate the ore with a triangular distribution, this means it will be more likely to be placed closer to the center of the anchors
        anchors.aboveBottom(48),    // the lower bound should be 32 blocks above the bottom of the world, so in this case, Y = -32 since minY = -64
        anchors.absolute(96)          // the upper bound, meanwhile is set to be just exactly at Y = 96
      )        
        ore.size=64
        ore.chance=1000
    })
})
cloud orchidBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

edgy kettle
#

mc limitation, not much we can do about it

cloud ferry
#

count also has to be >= 3 I believe

silver plaza
silver plaza
#

No big ores I guess