Switch to using the vanilla tag for blocks that mine with a pickaxe

This commit is contained in:
Sollace 2021-12-28 03:35:39 +02:00
parent 6e24ca9c6f
commit 3cec6de107
2 changed files with 6 additions and 2 deletions

View file

@ -2,7 +2,6 @@ package com.minelittlepony.unicopia.block;
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
import net.fabricmc.fabric.api.object.builder.v1.block.FabricMaterialBuilder;
import net.fabricmc.fabric.api.tool.attribute.v1.FabricToolTags;
import net.minecraft.block.Block;
import net.minecraft.block.MapColor;
import net.minecraft.sound.BlockSoundGroup;
@ -13,7 +12,6 @@ public interface UBlocks {
Block ROCKS = register("rocks", new RockCropBlock(FabricBlockSettings.of(
new FabricMaterialBuilder(MapColor.STONE_GRAY).allowsMovement().lightPassesThrough().notSolid().destroyedByPiston().build()
)
.breakByTool(FabricToolTags.PICKAXES)
.requiresTool()
.ticksRandomly()
.strength(2)

View file

@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"unicopia:rocks"
]
}