Incompatible with Zelda Style Horse Controls
ToppyTopology opened this issue · 4 comments
Description
this is a fairly new mod that adds horse movement (spur mechanics) like in Breath of the Wild or Tears of the Kingdom. From experience the input plays very odd and sometimes not working.
This is follow up from my issue regarding adding default third perspective for riding
here is a comment I sent to the mod owner:
Minecraft version
1.20.1
Incompatible mod name
Zelda Style Horse Controls
Incompatible mod version
1.0.0
Game Logs
none
Thanks for the report, now I understand you use-case much better. Can you please test whether it works correctly when you enable camera coupling? (You can also assign a keybind to it)
Thanks for the report, now I understand you use-case much better. Can you please test whether it works correctly when you enable camera coupling? (You can also assign a keybind to it)
oh actually yes it does fix it if camera is coupled, is there a way to do make it do that automatically?
Thanks for testing! Unfortunately for you, there is currently no way to automate it. My suggestion would be for Zelda Style Horse Controls to implement a compatibility plugin for Shoulder Surfing Reloaded, which will add that automation. The API documentation can be found here. What they need is to register an ICameraCouplingCallback, with the following rough implementation:
public class ShoulderSurfingPlugin implements ICameraCouplingCallback {
@Override
public boolean isForcingCameraCoupling(Minecraft minecraft) {
return minecraft.getCameraEntity() == minecraft.player && minecraft.player != null && !minecraft.player.isSpectator() && minecraft.player.isPassenger() && minecraft.player.getVehicle() instanceof ControlledHorseEntity;
}
}I'm positing the implementation here, because Zelda Style Horse Controls is closed source.