We can change the spawn point where the compass will point
In normal Minecraft, not really. Look for packs where you can add a map, for example
With a bed
In mc on pc
I've already tried it but points in exactly the opposite direction
Did you fool yourself into bed too? This is the only way to change the spawn point.
/ setworldspawn
(after the command: if single player, then you have to restart Minecraft and if server, then you have to restart the server)
if you don't want that, you can only do that with plugins.
A compass points to the world spawn, not the player's spawn. So no, it will never point to the bed.
With a https://minecraft.gamepedia.com/.../Lodestone.
Just place it and right click on it with the compass. This compass then always points there.
Yes, in normal Minecraft there's that too ^^
Oh I did not know.