Skip to content

Commit

Permalink
decreased the chance of fossilized sculk leech in amber
Browse files Browse the repository at this point in the history
  • Loading branch information
NewJumper committed Feb 1, 2024
1 parent 664645b commit f36ce31
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -34,7 +34,7 @@ public void generateFossil(Level level, BlockPos pos) {
if(fossilizedEntity || loot != ItemStack.EMPTY) return;

RandomSource random = RandomSource.create(pos.asLong());
if(random.nextFloat() < 0.5f) fossilizedEntity = true;
if(random.nextFloat() < 0.1f) fossilizedEntity = true;
rotation = random.nextFloat() * 180;
if(fossilizedEntity) return;

Expand Down

0 comments on commit f36ce31

Please sign in to comment.