Tenanea generator prototype
This commit is contained in:
parent
8aa8d1463a
commit
1a4eaa7c6e
6 changed files with 156 additions and 0 deletions
21
src/main/java/ru/betterend/blocks/BlockTenaneaSapling.java
Normal file
21
src/main/java/ru/betterend/blocks/BlockTenaneaSapling.java
Normal 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);
|
||||
}*/
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue