Block class rename
This commit is contained in:
parent
4b55bf30a8
commit
5f3547de8e
157 changed files with 748 additions and 756 deletions
30
src/main/java/ru/betterend/blocks/HydraluxPetalBlock.java
Normal file
30
src/main/java/ru/betterend/blocks/HydraluxPetalBlock.java
Normal file
|
@ -0,0 +1,30 @@
|
|||
package ru.betterend.blocks;
|
||||
|
||||
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
|
||||
import net.fabricmc.fabric.api.tool.attribute.v1.FabricToolTags;
|
||||
import net.minecraft.block.Material;
|
||||
import net.minecraft.block.MaterialColor;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.sound.BlockSoundGroup;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.World;
|
||||
import ru.betterend.blocks.basis.BaseBlock;
|
||||
|
||||
public class HydraluxPetalBlock extends BaseBlock {
|
||||
public HydraluxPetalBlock() {
|
||||
this(FabricBlockSettings.of(Material.PLANT)
|
||||
.materialColor(MaterialColor.SPRUCE)
|
||||
.sounds(BlockSoundGroup.WART_BLOCK)
|
||||
.breakByTool(FabricToolTags.AXES)
|
||||
.hardness(1)
|
||||
.resistance(1)
|
||||
.breakByHand(true));
|
||||
}
|
||||
|
||||
public HydraluxPetalBlock(FabricBlockSettings settings) {
|
||||
super(settings);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onLandedUpon(World world, BlockPos pos, Entity entity, float distance) {}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue