Tweaked some values

This commit is contained in:
Necrontyr 2022-10-14 23:58:33 +02:00
parent 6221600775
commit 486d5b5acf
2 changed files with 2 additions and 2 deletions

View file

@ -50,7 +50,7 @@ public class BuddingSmaragdantCrystalBlock extends LitPillarBlock implements Add
Direction dir = BlocksHelper.randomDirection(random);
BlockPos side = pos.relative(dir);
BlockState sideState = world.getBlockState(side);
if (random.nextInt(5) == 0) {
if (random.nextInt(20) == 0) {
if (canShardGrowAtState(sideState)) {
BlockState shard = EndBlocks.SMARAGDANT_CRYSTAL_SHARD.defaultBlockState()
.setValue(SmaragdantCrystalShardBlock.WATERLOGGED, sideState.getFluidState().getType() == Fluids.WATER)

View file

@ -49,7 +49,7 @@ public class SmaragdantCrystalFeature extends DefaultFeature {
}
if (state.is(CommonBlockTags.GEN_END_STONES) && world.getBlockState(mut.above()).isAir()) {
for (int j = 0; j <= dist; j++) {
if (random.nextInt(5) == 0) {
if (random.nextInt(8) == 0) {
BlocksHelper.setWithoutUpdate(world, mut, buddingCrystal);
for (Direction k : BlocksHelper.HORIZONTAL) {
BlockPos sidePos = mut.relative(k);