public class PlayerControlledMovement extends CameraMovement
camera, world
Constructor and Description |
---|
PlayerControlledMovement(net.minecraft.world.World world,
CameraEntity entityCamera) |
Modifier and Type | Method and Description |
---|---|
void |
generatePositions() |
void |
generateSphere() |
void |
handleMouseMovement(double dx,
double dy,
int dwheel) |
static net.minecraft.util.math.vector.Vector3d |
multiply(net.minecraft.util.math.vector.Matrix3f matrix,
net.minecraft.util.math.vector.Vector3d vector) |
void |
onLivingUpdate() |
void |
setRandomPosition(CameraTarget t) |
void |
updatePosition() |
canPosSee, handleKeyboardInput, updatePositionAndRotation
public PlayerControlledMovement(net.minecraft.world.World world, CameraEntity entityCamera)
public void setRandomPosition(CameraTarget t)
setRandomPosition
in class CameraMovement
public void onLivingUpdate()
onLivingUpdate
in class CameraMovement
public void updatePosition()
updatePosition
in class CameraMovement
public static net.minecraft.util.math.vector.Vector3d multiply(net.minecraft.util.math.vector.Matrix3f matrix, net.minecraft.util.math.vector.Vector3d vector)
public void generateSphere()
public void generatePositions()
generatePositions
in class CameraMovement
public void handleMouseMovement(double dx, double dy, int dwheel)
handleMouseMovement
in class CameraMovement