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
ConstructorsConstructorDescriptionPlayerControlledMovement(net.minecraft.world.level.Level world, CameraEntity entityCamera) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleMouseMovement(double dx, double dy, int dwheel) static voidFunction 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.voidMethods inherited from class com.pixelmonmod.pixelmon.client.camera.movement.CameraMovement
canPosSee, handleKeyboardInput
-
Constructor Details
-
PlayerControlledMovement
-
-
Method Details
-
updatePosition
public void updatePosition()- Overrides:
updatePositionin classCameraMovement
-
handleMouseMovement
public void handleMouseMovement(double dx, double dy, int dwheel) - Overrides:
handleMouseMovementin 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.
-