|
@@ -4,7 +4,6 @@ import java.util.Random;
|
|
import net.minecraft.block.Block;
|
|
import net.minecraft.block.Block;
|
|
import net.minecraft.block.BlockState;
|
|
import net.minecraft.block.BlockState;
|
|
import net.minecraft.block.Blocks;
|
|
import net.minecraft.block.Blocks;
|
|
-import net.minecraft.block.SlabBlock;
|
|
|
|
import net.minecraft.block.material.Material;
|
|
import net.minecraft.block.material.Material;
|
|
import net.minecraft.entity.item.FallingBlockEntity;
|
|
import net.minecraft.entity.item.FallingBlockEntity;
|
|
import net.minecraft.particles.BlockParticleData;
|
|
import net.minecraft.particles.BlockParticleData;
|
|
@@ -19,14 +18,9 @@ import net.minecraftforge.api.distmarker.Dist;
|
|
import net.minecraftforge.api.distmarker.OnlyIn;
|
|
import net.minecraftforge.api.distmarker.OnlyIn;
|
|
import net.minecraftforge.common.ToolType;
|
|
import net.minecraftforge.common.ToolType;
|
|
|
|
|
|
-public class BlockGravelSlab extends SlabBlock {
|
|
|
|
|
|
+public class BlockGravelSlab extends BlockModSlab {
|
|
public BlockGravelSlab(Properties properties) {
|
|
public BlockGravelSlab(Properties properties) {
|
|
- super(properties);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- @Override
|
|
|
|
- public boolean isToolEffective(BlockState state, ToolType tool) {
|
|
|
|
- return tool == ToolType.SHOVEL;
|
|
|
|
|
|
+ super(properties, ToolType.SHOVEL);
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|