Revert "Added automatic tool configuration for blocks"
This reverts commit 70b109758d
.
This commit is contained in:
parent
70b109758d
commit
67c4decf8e
29 changed files with 102 additions and 106 deletions
|
@ -1,5 +1,6 @@
|
|||
package ru.bclib.blocks;
|
||||
|
||||
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
|
||||
import net.fabricmc.fabric.api.tool.attribute.v1.FabricToolTags;
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.server.level.ServerPlayer;
|
||||
|
@ -14,13 +15,12 @@ import net.minecraft.world.level.block.RotatedPillarBlock;
|
|||
import net.minecraft.world.level.block.state.BlockState;
|
||||
import net.minecraft.world.level.material.MaterialColor;
|
||||
import net.minecraft.world.phys.BlockHitResult;
|
||||
import ru.bclib.util.BlocksHelper;
|
||||
|
||||
public class BaseStripableLogBlock extends BaseRotatedPillarBlock {
|
||||
private final Block striped;
|
||||
|
||||
public BaseStripableLogBlock(MaterialColor color, Block striped) {
|
||||
super(BlocksHelper.copySettingsOf(striped).mapColor(color));
|
||||
super(FabricBlockSettings.copyOf(striped).mapColor(color));
|
||||
this.striped = striped;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue