Addressed multiple ToDo's
This commit is contained in:
parent
c6742982df
commit
e8dbbffa8e
6 changed files with 36 additions and 23 deletions
|
@ -77,9 +77,7 @@ public class BaseTerrainBlock extends BaseBlock {
|
|||
Player player,
|
||||
InteractionHand hand,
|
||||
BlockHitResult hit) {
|
||||
//TODO: 1.18.2 check
|
||||
if (pathBlock != null && TagAPI.isToolWithMineableTag(player.getMainHandItem(), NamedMineableTags.SHOVEL)) {
|
||||
//if (pathBlock != null && FabricTagProvider.SHOVELS.contains(player.getMainHandItem().getItem())) {
|
||||
world.playSound(player, pos, SoundEvents.SHOVEL_FLATTEN, SoundSource.BLOCKS, 1.0F, 1.0F);
|
||||
if (!world.isClientSide) {
|
||||
world.setBlockAndUpdate(pos, pathBlock.defaultBlockState());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue