Tweaked some values
This commit is contained in:
parent
6221600775
commit
486d5b5acf
2 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ public class BuddingSmaragdantCrystalBlock extends LitPillarBlock implements Add
|
||||||
Direction dir = BlocksHelper.randomDirection(random);
|
Direction dir = BlocksHelper.randomDirection(random);
|
||||||
BlockPos side = pos.relative(dir);
|
BlockPos side = pos.relative(dir);
|
||||||
BlockState sideState = world.getBlockState(side);
|
BlockState sideState = world.getBlockState(side);
|
||||||
if (random.nextInt(5) == 0) {
|
if (random.nextInt(20) == 0) {
|
||||||
if (canShardGrowAtState(sideState)) {
|
if (canShardGrowAtState(sideState)) {
|
||||||
BlockState shard = EndBlocks.SMARAGDANT_CRYSTAL_SHARD.defaultBlockState()
|
BlockState shard = EndBlocks.SMARAGDANT_CRYSTAL_SHARD.defaultBlockState()
|
||||||
.setValue(SmaragdantCrystalShardBlock.WATERLOGGED, sideState.getFluidState().getType() == Fluids.WATER)
|
.setValue(SmaragdantCrystalShardBlock.WATERLOGGED, sideState.getFluidState().getType() == Fluids.WATER)
|
||||||
|
|
|
@ -49,7 +49,7 @@ public class SmaragdantCrystalFeature extends DefaultFeature {
|
||||||
}
|
}
|
||||||
if (state.is(CommonBlockTags.GEN_END_STONES) && world.getBlockState(mut.above()).isAir()) {
|
if (state.is(CommonBlockTags.GEN_END_STONES) && world.getBlockState(mut.above()).isAir()) {
|
||||||
for (int j = 0; j <= dist; j++) {
|
for (int j = 0; j <= dist; j++) {
|
||||||
if (random.nextInt(5) == 0) {
|
if (random.nextInt(8) == 0) {
|
||||||
BlocksHelper.setWithoutUpdate(world, mut, buddingCrystal);
|
BlocksHelper.setWithoutUpdate(world, mut, buddingCrystal);
|
||||||
for (Direction k : BlocksHelper.HORIZONTAL) {
|
for (Direction k : BlocksHelper.HORIZONTAL) {
|
||||||
BlockPos sidePos = mut.relative(k);
|
BlockPos sidePos = mut.relative(k);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue