Class PlayerControlledMovement

java.lang.Object
com.pixelmonmod.pixelmon.client.camera.movement.CameraMovement
com.pixelmonmod.pixelmon.client.camera.movement.PlayerControlledMovement

public class PlayerControlledMovement extends CameraMovement
  • Constructor Details

    • PlayerControlledMovement

      public PlayerControlledMovement(net.minecraft.world.level.Level world, CameraEntity entityCamera)
  • Method Details

    • updatePosition

      public void updatePosition()
      Overrides:
      updatePosition in class CameraMovement
    • handleMouseMovement

      public void handleMouseMovement(double dx, double dy, int dwheel)
      Overrides:
      handleMouseMovement in class CameraMovement
    • switchBetweenViewEntities

      public static void switchBetweenViewEntities()
      Function to handle when the battle camera switches between the overhead default camera, the perspective of the player, or the perspective of (one of) the player's Pokémon.