19 lines
476 B
Java
19 lines
476 B
Java
package ru.betterend.blocks.basis;
|
|
|
|
import net.minecraft.world.level.block.state.BlockState;
|
|
import ru.bclib.api.TagAPI;
|
|
import ru.bclib.blocks.BasePlantWithAgeBlock;
|
|
|
|
public abstract class EndPlantWithAgeBlock extends BasePlantWithAgeBlock {
|
|
|
|
public EndPlantWithAgeBlock() {}
|
|
|
|
public EndPlantWithAgeBlock(Properties settings) {
|
|
super(settings);
|
|
}
|
|
|
|
@Override
|
|
protected boolean isTerrain(BlockState state) {
|
|
return state.is(TagAPI.END_GROUND);
|
|
}
|
|
}
|