Fixes
This commit is contained in:
parent
46ceaee8be
commit
310369cbb3
2 changed files with 3 additions and 1 deletions
|
@ -22,6 +22,7 @@ import net.minecraft.world.gen.feature.DefaultFeatureConfig;
|
|||
import ru.betterend.client.ERenderLayer;
|
||||
import ru.betterend.client.IRenderTypeable;
|
||||
import ru.betterend.registry.BlockTagRegistry;
|
||||
import ru.betterend.util.BlocksHelper;
|
||||
import ru.betterend.world.features.DefaultFeature;
|
||||
|
||||
public class BlockFeatureSapling extends BlockBaseNotFull implements Fertilizable, IRenderTypeable {
|
||||
|
@ -79,6 +80,7 @@ public class BlockFeatureSapling extends BlockBaseNotFull implements Fertilizabl
|
|||
|
||||
@Override
|
||||
public void grow(ServerWorld world, Random random, BlockPos pos, BlockState state) {
|
||||
BlocksHelper.setWithoutUpdate(world, pos, Blocks.AIR.getDefaultState());
|
||||
feature.generate(world, world.getChunkManager().getChunkGenerator(), random, pos, DefaultFeatureConfig.INSTANCE);
|
||||
}
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ public class MossyGlowshroomFeature extends DefaultFeature {
|
|||
ROOTS.setAngle(random.nextFloat() * MHelper.PI2);
|
||||
FUNCTION.setSourceA(sdf);
|
||||
Set<BlockPos> blocks = new SDFScale()
|
||||
.setScale(MHelper.randRange(0.5F, 1F, random))
|
||||
.setScale(MHelper.randRange(0.75F, 1.1F, random))
|
||||
.setSource(FUNCTION)
|
||||
.setReplaceFunction(REPLACE)
|
||||
.setPostProcess(POST_PROCESS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue