mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-03-03 16:51:28 +01:00
Switch to using the vanilla tag for blocks that mine with a pickaxe
This commit is contained in:
parent
6e24ca9c6f
commit
3cec6de107
2 changed files with 6 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"unicopia:rocks"
|
||||
]
|
||||
}
|
Loading…
Add table
Reference in a new issue