35 lines
1.1 KiB
Java
35 lines
1.1 KiB
Java
package org.betterx.betterend.blocks;
|
|
|
|
import org.betterx.bclib.blocks.BaseBlock;
|
|
import org.betterx.bclib.interfaces.tools.AddMineableAxe;
|
|
|
|
import net.minecraft.core.BlockPos;
|
|
import net.minecraft.world.entity.Entity;
|
|
import net.minecraft.world.level.Level;
|
|
import net.minecraft.world.level.block.SoundType;
|
|
import net.minecraft.world.level.block.state.BlockState;
|
|
import net.minecraft.world.level.material.Material;
|
|
import net.minecraft.world.level.material.MapColor;
|
|
|
|
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
|
|
|
|
public class HydraluxPetalBlock extends BaseBlock implements AddMineableAxe {
|
|
public HydraluxPetalBlock() {
|
|
this(
|
|
FabricBlockSettings
|
|
.of(Material.PLANT)
|
|
.hardness(1)
|
|
.resistance(1)
|
|
.mapColor(MapColor.PODZOL)
|
|
.sound(SoundType.WART_BLOCK)
|
|
);
|
|
}
|
|
|
|
public HydraluxPetalBlock(Properties settings) {
|
|
super(settings);
|
|
}
|
|
|
|
@Override
|
|
public void fallOn(Level level, BlockState blockState, BlockPos blockPos, Entity entity, float f) {
|
|
}
|
|
}
|