Start migration

This commit is contained in:
Aleksey 2021-04-08 21:55:07 +03:00
parent 6630ce0cab
commit 47ed597358
491 changed files with 12045 additions and 11953 deletions

View file

@ -2,29 +2,25 @@ 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 net.minecraft.world.level.material.Material;
import net.minecraft.world.level.material.MaterialColor;
import net.minecraft.world.entity.Entity;
import net.minecraft.world.level.block.SoundType;
import net.minecraft.core.BlockPos;
import net.minecraft.world.level.Level;
import ru.betterend.blocks.basis.BlockBase;
public class HydraluxPetalBlock extends BlockBase {
public HydraluxPetalBlock() {
this(FabricBlockSettings.of(Material.PLANT)
.materialColor(MaterialColor.SPRUCE)
.sounds(BlockSoundGroup.WART_BLOCK)
.breakByTool(FabricToolTags.AXES)
.hardness(1)
.resistance(1)
.breakByHand(true));
this(FabricBlockSettings.of(Material.PLANT).materialColor(MaterialColor.SPRUCE).sounds(SoundType.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) {}
public void onLandedUpon(Level world, BlockPos pos, Entity entity, float distance) {
}
}