1 package com.irtimaled.bbor.client;
3 import net.minecraft.entity.player.EntityPlayer;
5 public class PlayerData {
6 private static double x;
7 private static double y;
8 private static double z;
9 private static double activeY;
11 static void setPlayerPosition(double partialTicks, EntityPlayer entityPlayer) {
12 x = entityPlayer.lastTickPosX + (entityPlayer.posX - entityPlayer.lastTickPosX) * partialTicks;
13 y = entityPlayer.lastTickPosY + (entityPlayer.posY - entityPlayer.lastTickPosY) * partialTicks;
14 z = entityPlayer.lastTickPosZ + (entityPlayer.posZ - entityPlayer.lastTickPosZ) * partialTicks;
17 static void setActiveY() {
21 public static double getX() {
25 public static double getY() {
29 public static double getZ() {
33 public static double getMaxY(double configMaxY) {
34 if (configMaxY == -1) {
37 if (configMaxY == 0) {