Class PlayerControlledMovement
java.lang.Object
com.pixelmonmod.pixelmon.client.camera.movement.CameraMovement
com.pixelmonmod.pixelmon.client.camera.movement.PlayerControlledMovement
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.client.camera.movement.CameraMovement
camera, world
-
Constructor Summary
ConstructorDescriptionPlayerControlledMovement
(net.minecraft.world.level.Level world, CameraEntity entityCamera) -
Method Summary
Modifier and TypeMethodDescriptionvoid
handleMouseMovement
(double dx, double dy, int dwheel) static void
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.void
Methods inherited from class com.pixelmonmod.pixelmon.client.camera.movement.CameraMovement
canPosSee, handleKeyboardInput
-
Constructor Details
-
PlayerControlledMovement
-
-
Method Details
-
updatePosition
public void updatePosition()- Overrides:
updatePosition
in classCameraMovement
-
handleMouseMovement
public void handleMouseMovement(double dx, double dy, int dwheel) - Overrides:
handleMouseMovement
in classCameraMovement
-
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.
-