Block class rename
This commit is contained in:
parent
4b55bf30a8
commit
5f3547de8e
157 changed files with 748 additions and 756 deletions
|
@ -1,19 +0,0 @@
|
|||
package ru.betterend.blocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockState;
|
||||
import ru.betterend.blocks.basis.BlockPlant;
|
||||
|
||||
public class BlockTerrainPlant extends BlockPlant {
|
||||
private final Block ground;
|
||||
|
||||
public BlockTerrainPlant(Block ground) {
|
||||
super(true);
|
||||
this.ground = ground;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean isTerrain(BlockState state) {
|
||||
return state.isOf(ground);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue