Tenanea generator prototype

This commit is contained in:
paulevsGitch 2020-11-18 15:52:01 +03:00
parent 8aa8d1463a
commit 1a4eaa7c6e
6 changed files with 156 additions and 0 deletions

View file

@ -0,0 +1,21 @@
package ru.betterend.blocks;
import net.minecraft.world.gen.feature.Feature;
import ru.betterend.blocks.basis.BlockFeatureSapling;
import ru.betterend.registry.EndFeatures;
public class BlockTenaneaSapling extends BlockFeatureSapling {
public BlockTenaneaSapling() {
super();
}
@Override
protected Feature<?> getFeature() {
return EndFeatures.TENANEA.getFeature();
}
/*@Override
public boolean canPlaceAt(BlockState state, WorldView world, BlockPos pos) {
return world.getBlockState(pos.down()).isOf(EndBlocks.SHADOW_GRASS);
}*/
}