Repurposed Structures (Neoforge/Forge)

Repurposed Structures (Neoforge/Forge)

57M Downloads

Switch random used for my processors

TelepathicGrunt opened this issue ยท 1 comments

commented

I found the processor random would never give me a value below 0.5f for some reason so I need to switch to this instead

Random random = new SharedSeedRandom();
random.setSeed(structureBlockInfoWorld.pos.toLong());
commented

random.setSeed(structureBlockInfoWorld.pos.toLong() * structureBlockInfoWorld.pos.getY());
this works better. previous code didn't seem to be impacted by changing y values... weird....