#worldgen ??

1 messages · Page 1 of 1 (latest)

narrow tulip
#

is there a way i can i have the create:the factory must grow oil deposit
generate in TerraFirmaCraft worldgen which stops the oil deposit to generate

smoky gulchBOT
#

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

narrow tulip
#

hellp

undone sedge
#

Could you use the Lakes generation to make lakes of oil you can use?

narrow tulip
undone sedge
#

Hmm. Perhaps you can add it as a normal ore deposit if it's a block that generates. in the normal fashion. Does it generate in bedrock blocks normally? Not too familiar with CTFMG as I only watched a little on it.

If so you could probably do it quite easily, as I don't think TFC changes the generation_step sequence, just the types of stone that generates underground (last played TFC in 1.7.10 so not sure if this is still true)

narrow tulip
undone sedge
#

Something like...

WorldgenEvents.add(event => {
  const { anchors } = event;
  event.addOre(ore => {
    ore.addTarget('#minecraft:bedrock', 'oil_deposit_block_id');
    ore.count(1).squared().uniformHeight(anchors.aboveBottom(1), anchors.absolute(5));
                            
    ore.size = 1;
    ore.worldgenLayer = 'underground_ores';
    ore.chance = 0.1;    
  });
});
#

You just need to get the id of the oil deposit block and replace oil_deposit_block_id

#

Not sure if that will do it BUT that's the closest I can think to get it to work 🙂

narrow tulip
#

ware would i put thes in

undone sedge
#

I think this one is a startup script

narrow tulip
#

ok

undone sedge
#

What is the ID of the create tfmg oil deposit?

#

You should be able to find it in JEI/REI

narrow tulip
#

tfmg:oil_deposit

undone sedge
#

Replace oil_deposit_block_id with tfmg:oil_deposit

narrow tulip
#

thats the block id but i was making showr it not the genrashon id thing

undone sedge
#

The generation ID shouldn't be needed, I think ores_in_ground is all you need

narrow tulip
#

ok

undone sedge
#

That's already specified in worldgenLayer but is done by default I think

narrow tulip
#

and to note im on 1.20.1

undone sedge
#

Hmm. I think this was pulled from the most recent kubejs docs. I am actually on 1.18.2 still 😄 But, the event code is 1.19+. I wonder if ore gen broke in 1.20, I think I read somewhere that it had

#

Might need someone with more experience than I to answer that one 🙂

narrow tulip
#

ok

narrow tulip
#

🆘