33 lines
684 B
Java
33 lines
684 B
Java
package ru.betterend.blocks.basis;
|
|
|
|
import net.minecraft.world.level.block.state.BlockState;
|
|
import ru.bclib.api.TagAPI;
|
|
import ru.bclib.blocks.BasePlantBlock;
|
|
|
|
public class EndPlantBlock extends BasePlantBlock {
|
|
|
|
public EndPlantBlock() {
|
|
this(false);
|
|
}
|
|
|
|
public EndPlantBlock(int light) {
|
|
this(false, light);
|
|
}
|
|
|
|
public EndPlantBlock(boolean replaceable) {
|
|
super(replaceable);
|
|
}
|
|
|
|
public EndPlantBlock(boolean replaceable, int light) {
|
|
super(replaceable, light);
|
|
}
|
|
|
|
public EndPlantBlock(Properties settings) {
|
|
super(settings);
|
|
}
|
|
|
|
@Override
|
|
protected boolean isTerrain(BlockState state) {
|
|
return state.is(TagAPI.END_GROUND);
|
|
}
|
|
}
|