Found a version of what I was trying to do on github, had to tweak it a bit to make it updated to 1.16.5 tho....
package expanded.blocks;
import javax.annotation.Nullable;
import expanded.VanillaBuildingBlocks;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.block.RotatedPillarBlock;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.item.ItemStack;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
import net.minecraftforge.common.ToolType;
public class CustomLog extends RotatedPillarBlock {
public CustomLog(Properties properties) {
super(properties);
}
@Override
@Nullable
public BlockState getToolModifiedState(BlockState state, World world, BlockPos pos, PlayerEntity player, ItemStack stack, ToolType toolType) {
Block block = state.getBlock();
if (block == VanillaBuildingBlocks.acacia_log) {
return VanillaBuildingBlocks.stripped_acacia_log.defaultBlockState();
} else if (block == VanillaBuildingBlocks.spruce_log) {
return VanillaBuildingBlocks.stripped_spruce_log.defaultBlockState();
} else {
return super.getToolModifiedState(state, world, pos, player, stack, toolType);
}
}
}
in case anyone else needs it.... This is solved now, thanks for all the help. ^^