Skip to content

Commit

Permalink
alpha 3208
Browse files Browse the repository at this point in the history
fixed #10
  • Loading branch information
pixelcmtd committed Aug 30, 2020
1 parent 8577c6e commit de1cf0f
Show file tree
Hide file tree
Showing 19 changed files with 452 additions and 96 deletions.
509 changes: 428 additions & 81 deletions eclipse/Client/logs/latest.log

Large diffs are not rendered by default.

Binary file modified eclipse/Client/saves/MCP Development World/data/villages.dat
Binary file not shown.
Binary file modified eclipse/Client/saves/MCP Development World/data/villages_end.dat
Binary file not shown.
Binary file not shown.
Binary file modified eclipse/Client/saves/MCP Development World/level.dat
Binary file not shown.
Binary file modified eclipse/Client/saves/MCP Development World/level.dat_old
Binary file not shown.
Binary file not shown.
Binary file modified eclipse/Client/saves/MCP Development World/region/r.0.-1.mca
Binary file not shown.
Binary file modified eclipse/Client/saves/MCP Development World/region/r.0.0.mca
Binary file not shown.
Binary file modified eclipse/Client/saves/MCP Development World/region/r.1.-1.mca
Binary file not shown.
Binary file modified eclipse/Client/saves/MCP Development World/region/r.1.0.mca
Binary file not shown.
Binary file modified eclipse/Client/saves/MCP Development World/session.lock
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"stat.flyOneCm":103265,"stat.walkOneCm":11050,"stat.jump":117,"stat.playOneMinute":4414,"achievement.openInventory":3,"stat.climbOneCm":1015,"stat.leaveGame":1,"stat.damageDealt":350,"stat.crouchOneCm":157,"stat.timeSinceDeath":4414,"stat.sprintOneCm":7990,"stat.mobKills":1,"achievement.exploreAllBiomes":{"value":0,"progress":["Beach","Ocean"]}}
2 changes: 1 addition & 1 deletion eclipse/Client/usercache.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"name":"Player735","uuid":"fd6f2cd7-e2c4-325a-9688-114cce28bfc9","expiresOn":"2020-09-28 14:40:45 +0200"},{"name":"Player134","uuid":"827abf77-9106-32af-9a7f-8bc101f4b837","expiresOn":"2019-04-04 14:40:06 +0200"},{"name":"Player283","uuid":"fcd8643a-136f-38b6-9c1f-4f5463ba5d9d","expiresOn":"2019-10-08 23:40:06 +0200"},{"name":"Player297","uuid":"04aedfc4-153f-3d65-bb99-866996994a71","expiresOn":"2020-03-27 08:13:50 +0100"},{"name":"Player278","uuid":"61fd2fee-c62a-393f-b126-a9885f9b4361","expiresOn":"2019-04-04 14:35:18 +0200"},{"name":"Player863","uuid":"3dc62e7d-7679-3ce7-b3a5-cf513aa6eb7c","expiresOn":"2019-04-15 20:29:14 +0200"},{"name":"Player540","uuid":"c2506432-c159-30c0-93d8-64f2a6272277","expiresOn":"2019-10-09 17:38:01 +0200"},{"name":"Player644","uuid":"479b5936-9fd6-3f34-a6bd-40db6d59d9f4","expiresOn":"2020-09-22 02:23:19 +0200"},{"name":"Player317","uuid":"7666ee64-0e62-3b6a-bb71-85f97c5e0623","expiresOn":"2019-08-20 00:54:03 +0200"},{"name":"Player930","uuid":"eac293da-7d7d-3c6a-94e5-fba80de0212f","expiresOn":"2019-10-16 21:03:19 +0200"},{"name":"Player961","uuid":"1dd34f6b-f553-3906-92e2-e13f78ae2b51","expiresOn":"2020-03-27 07:43:23 +0100"},{"name":"Player824","uuid":"577679a7-fd79-34ce-82ca-9e17c30582b1","expiresOn":"2019-02-22 20:19:05 +0100"},{"name":"Player646","uuid":"3e22f9fd-d6d5-3659-ae8e-767882feb736","expiresOn":"2019-05-09 20:21:22 +0200"},{"name":"Player102","uuid":"1393f182-8170-3d81-bbcc-663c68900b91","expiresOn":"2020-03-27 08:43:46 +0100"},{"name":"Player425","uuid":"355b2127-0f2e-3f20-b6c2-8997b4abcafb","expiresOn":"2020-03-27 08:25:34 +0100"},{"name":"Player563","uuid":"1e92cadb-e057-30f8-a789-5ce10551ba1e","expiresOn":"2020-03-27 08:17:55 +0100"},{"name":"Player486","uuid":"c6ee12ed-7678-319d-87c9-a5de81832a4f","expiresOn":"2019-08-20 00:46:08 +0200"},{"name":"Player837","uuid":"74c27658-bdbf-3735-92e3-d4cbb89f0350","expiresOn":"2019-09-17 19:10:04 +0200"},{"name":"Player181","uuid":"28de3746-47a4-326a-afac-3983252542f7","expiresOn":"2019-10-29 14:31:01 +0100"},{"name":"Player220","uuid":"44aa3c6f-36d4-3bd9-bad8-90036d2f5ffc","expiresOn":"2019-04-04 14:01:20 +0200"},{"name":"Player915","uuid":"fbd6852d-44fe-3331-a1df-a34f42de9037","expiresOn":"2020-09-21 23:38:47 +0200"},{"name":"Player944","uuid":"82eab9c5-ed04-3a17-8da6-2923b8b4dcf8","expiresOn":"2019-04-15 21:45:52 +0200"},{"name":"Player831","uuid":"7daaf105-640b-34bc-83e6-6c045d1c9591","expiresOn":"2019-02-18 18:25:52 +0100"},{"name":"Player779","uuid":"92bdd514-4796-3d7d-b2d4-a03fc9628bd4","expiresOn":"2019-04-04 14:03:10 +0200"},{"name":"Player543","uuid":"8b099b45-7c1f-3749-8e57-5c8f500dad04","expiresOn":"2019-04-04 14:38:06 +0200"},{"name":"Player844","uuid":"bd0d6de2-7897-388f-8c0f-71e10002b81c","expiresOn":"2020-09-22 02:20:15 +0200"},{"name":"Player902","uuid":"3d66a28d-6934-3ed5-8300-c1ada16fe77b","expiresOn":"2019-04-15 21:47:17 +0200"},{"name":"Player870","uuid":"eadcccd1-5981-31ce-8342-c727c73b0197","expiresOn":"2020-09-21 23:58:45 +0200"},{"name":"Player827","uuid":"f7494cf2-23c9-3033-9230-c4a9565d6251","expiresOn":"2019-04-04 13:42:15 +0200"},{"name":"Player970","uuid":"f2c5b984-5c4a-355c-800e-d2ce35cf8f1c","expiresOn":"2019-10-15 20:42:59 +0200"},{"name":"Player530","uuid":"e0b801b1-6b73-363a-a46f-105be4f0f90f","expiresOn":"2019-02-22 19:06:49 +0100"},{"name":"Player975","uuid":"1c38adbd-952c-3cbe-9338-7d9a41f64a2f","expiresOn":"2019-10-08 23:35:10 +0200"},{"name":"Player528","uuid":"b7db2898-56c5-306a-bddd-f0ada2600d7e","expiresOn":"2019-03-09 20:39:55 +0100"},{"name":"Player453","uuid":"ac42e7c5-bf90-3ead-ba50-c551df161044","expiresOn":"2019-02-22 19:02:20 +0100"},{"name":"Player385","uuid":"1e3c9076-6029-36c6-8475-dd38d2030d5f","expiresOn":"2019-04-04 13:39:22 +0200"},{"name":"Player170","uuid":"005a1bfb-b3e4-37aa-87e8-3ba2c8463cf4","expiresOn":"2019-04-04 13:16:58 +0200"},{"name":"Player967","uuid":"6772ffa7-3606-3001-96a1-ec7bc4fa58f6","expiresOn":"2019-09-17 19:15:46 +0200"},{"name":"Player460","uuid":"46c1b760-ca01-3b6f-9924-2c0867885238","expiresOn":"2019-02-18 17:26:29 +0100"},{"name":"Player539","uuid":"449546f9-463a-3959-807a-caed6d7d3cca","expiresOn":"2019-02-19 17:00:00 +0100"},{"name":"H4X0R","uuid":"1763d3fd-fa72-3140-9128-80d466557c8e","expiresOn":"2019-02-18 18:27:50 +0100"},{"name":"Player315","uuid":"909ca267-1200-3a4b-b154-ac49c5d6bf14","expiresOn":"2019-10-08 23:31:42 +0200"},{"name":"Player611","uuid":"99e80a89-582d-3fb3-8388-49270da696a6","expiresOn":"2019-08-20 01:11:06 +0200"},{"name":"Player458","uuid":"a5dec118-1a7c-3774-9b5e-93530c39dc7c","expiresOn":"2019-09-17 19:22:05 +0200"},{"name":"Player818","uuid":"84e9e4f6-df8d-3fc9-b2c7-0eb3b9531d39","expiresOn":"2020-03-27 08:21:24 +0100"},{"name":"Player408","uuid":"7e6a41b9-68d1-390b-a11e-48670dd53b6a","expiresOn":"2019-02-22 17:38:52 +0100"},{"name":"Player417","uuid":"c97b21a8-25e6-37ce-8a04-8d5bcf6f4c4d","expiresOn":"2019-02-22 20:18:35 +0100"},{"name":"Player579","uuid":"6ae8fe40-3ccb-3755-8fd2-c5445728b386","expiresOn":"2019-10-08 23:24:14 +0200"},{"name":"Player866","uuid":"2fadf78c-df6e-3f69-9afe-653fe25a83d0","expiresOn":"2019-03-09 20:53:44 +0100"},{"name":"Player661","uuid":"83f9fb4e-5c3f-3b02-a19a-70f2fa258dfa","expiresOn":"2019-10-08 23:20:37 +0200"},{"name":"Player680","uuid":"0393a2c7-cdb8-34be-bc16-491de4797b8e","expiresOn":"2019-02-18 17:22:17 +0100"},{"name":"Player846","uuid":"8a5928f7-beb7-37f5-80fc-dd4e68365b90","expiresOn":"2020-03-27 08:23:16 +0100"},{"name":"Player132","uuid":"5cc48495-676c-3721-aed2-7336730ff405","expiresOn":"2019-09-17 19:19:21 +0200"},{"name":"Player370","uuid":"5db36629-721d-3a36-8728-14b3ab112351","expiresOn":"2020-09-27 19:28:16 +0200"}]
[{"name":"Player942","uuid":"0e2a8643-40df-3a07-bffe-aa9fb0809920","expiresOn":"2020-09-30 02:12:18 +0200"},{"name":"Player283","uuid":"fcd8643a-136f-38b6-9c1f-4f5463ba5d9d","expiresOn":"2019-10-08 23:40:06 +0200"},{"name":"Player540","uuid":"c2506432-c159-30c0-93d8-64f2a6272277","expiresOn":"2019-10-09 17:38:01 +0200"},{"name":"Player961","uuid":"1dd34f6b-f553-3906-92e2-e13f78ae2b51","expiresOn":"2020-03-27 07:43:23 +0100"},{"name":"Player425","uuid":"355b2127-0f2e-3f20-b6c2-8997b4abcafb","expiresOn":"2020-03-27 08:25:34 +0100"},{"name":"Player181","uuid":"28de3746-47a4-326a-afac-3983252542f7","expiresOn":"2019-10-29 14:31:01 +0100"},{"name":"Player831","uuid":"7daaf105-640b-34bc-83e6-6c045d1c9591","expiresOn":"2019-02-18 18:25:52 +0100"},{"name":"Player902","uuid":"3d66a28d-6934-3ed5-8300-c1ada16fe77b","expiresOn":"2019-04-15 21:47:17 +0200"},{"name":"Player530","uuid":"e0b801b1-6b73-363a-a46f-105be4f0f90f","expiresOn":"2019-02-22 19:06:49 +0100"},{"name":"Player385","uuid":"1e3c9076-6029-36c6-8475-dd38d2030d5f","expiresOn":"2019-04-04 13:39:22 +0200"},{"name":"Player539","uuid":"449546f9-463a-3959-807a-caed6d7d3cca","expiresOn":"2019-02-19 17:00:00 +0100"},{"name":"Player458","uuid":"a5dec118-1a7c-3774-9b5e-93530c39dc7c","expiresOn":"2019-09-17 19:22:05 +0200"},{"name":"Player579","uuid":"6ae8fe40-3ccb-3755-8fd2-c5445728b386","expiresOn":"2019-10-08 23:24:14 +0200"},{"name":"Player846","uuid":"8a5928f7-beb7-37f5-80fc-dd4e68365b90","expiresOn":"2020-03-27 08:23:16 +0100"},{"name":"Player132","uuid":"5cc48495-676c-3721-aed2-7336730ff405","expiresOn":"2019-09-17 19:19:21 +0200"},{"name":"Player866","uuid":"2fadf78c-df6e-3f69-9afe-653fe25a83d0","expiresOn":"2019-03-09 20:53:44 +0100"},{"name":"Player818","uuid":"84e9e4f6-df8d-3fc9-b2c7-0eb3b9531d39","expiresOn":"2020-03-27 08:21:24 +0100"},{"name":"H4X0R","uuid":"1763d3fd-fa72-3140-9128-80d466557c8e","expiresOn":"2019-02-18 18:27:50 +0100"},{"name":"Player170","uuid":"005a1bfb-b3e4-37aa-87e8-3ba2c8463cf4","expiresOn":"2019-04-04 13:16:58 +0200"},{"name":"Player975","uuid":"1c38adbd-952c-3cbe-9338-7d9a41f64a2f","expiresOn":"2019-10-08 23:35:10 +0200"},{"name":"Player870","uuid":"eadcccd1-5981-31ce-8342-c727c73b0197","expiresOn":"2020-09-21 23:58:45 +0200"},{"name":"Player779","uuid":"92bdd514-4796-3d7d-b2d4-a03fc9628bd4","expiresOn":"2019-04-04 14:03:10 +0200"},{"name":"Player220","uuid":"44aa3c6f-36d4-3bd9-bad8-90036d2f5ffc","expiresOn":"2019-04-04 14:01:20 +0200"},{"name":"Player563","uuid":"1e92cadb-e057-30f8-a789-5ce10551ba1e","expiresOn":"2020-03-27 08:17:55 +0100"},{"name":"Player824","uuid":"577679a7-fd79-34ce-82ca-9e17c30582b1","expiresOn":"2019-02-22 20:19:05 +0100"},{"name":"Player644","uuid":"479b5936-9fd6-3f34-a6bd-40db6d59d9f4","expiresOn":"2020-09-22 02:23:19 +0200"},{"name":"Player297","uuid":"04aedfc4-153f-3d65-bb99-866996994a71","expiresOn":"2020-03-27 08:13:50 +0100"},{"name":"Player134","uuid":"827abf77-9106-32af-9a7f-8bc101f4b837","expiresOn":"2019-04-04 14:40:06 +0200"},{"name":"Player863","uuid":"3dc62e7d-7679-3ce7-b3a5-cf513aa6eb7c","expiresOn":"2019-04-15 20:29:14 +0200"},{"name":"Player930","uuid":"eac293da-7d7d-3c6a-94e5-fba80de0212f","expiresOn":"2019-10-16 21:03:19 +0200"},{"name":"Player102","uuid":"1393f182-8170-3d81-bbcc-663c68900b91","expiresOn":"2020-03-27 08:43:46 +0100"},{"name":"Player837","uuid":"74c27658-bdbf-3735-92e3-d4cbb89f0350","expiresOn":"2019-09-17 19:10:04 +0200"},{"name":"Player944","uuid":"82eab9c5-ed04-3a17-8da6-2923b8b4dcf8","expiresOn":"2019-04-15 21:45:52 +0200"},{"name":"Player844","uuid":"bd0d6de2-7897-388f-8c0f-71e10002b81c","expiresOn":"2020-09-22 02:20:15 +0200"},{"name":"Player970","uuid":"f2c5b984-5c4a-355c-800e-d2ce35cf8f1c","expiresOn":"2019-10-15 20:42:59 +0200"},{"name":"Player453","uuid":"ac42e7c5-bf90-3ead-ba50-c551df161044","expiresOn":"2019-02-22 19:02:20 +0100"},{"name":"Player460","uuid":"46c1b760-ca01-3b6f-9924-2c0867885238","expiresOn":"2019-02-18 17:26:29 +0100"},{"name":"Player611","uuid":"99e80a89-582d-3fb3-8388-49270da696a6","expiresOn":"2019-08-20 01:11:06 +0200"},{"name":"Player417","uuid":"c97b21a8-25e6-37ce-8a04-8d5bcf6f4c4d","expiresOn":"2019-02-22 20:18:35 +0100"},{"name":"Player680","uuid":"0393a2c7-cdb8-34be-bc16-491de4797b8e","expiresOn":"2019-02-18 17:22:17 +0100"},{"name":"Player370","uuid":"5db36629-721d-3a36-8728-14b3ab112351","expiresOn":"2020-09-27 19:28:16 +0200"},{"name":"Player661","uuid":"83f9fb4e-5c3f-3b02-a19a-70f2fa258dfa","expiresOn":"2019-10-08 23:20:37 +0200"},{"name":"Player408","uuid":"7e6a41b9-68d1-390b-a11e-48670dd53b6a","expiresOn":"2019-02-22 17:38:52 +0100"},{"name":"Player315","uuid":"909ca267-1200-3a4b-b154-ac49c5d6bf14","expiresOn":"2019-10-08 23:31:42 +0200"},{"name":"Player967","uuid":"6772ffa7-3606-3001-96a1-ec7bc4fa58f6","expiresOn":"2019-09-17 19:15:46 +0200"},{"name":"Player528","uuid":"b7db2898-56c5-306a-bddd-f0ada2600d7e","expiresOn":"2019-03-09 20:39:55 +0100"},{"name":"Player827","uuid":"f7494cf2-23c9-3033-9230-c4a9565d6251","expiresOn":"2019-04-04 13:42:15 +0200"},{"name":"Player543","uuid":"8b099b45-7c1f-3749-8e57-5c8f500dad04","expiresOn":"2019-04-04 14:38:06 +0200"},{"name":"Player915","uuid":"fbd6852d-44fe-3331-a1df-a34f42de9037","expiresOn":"2020-09-21 23:38:47 +0200"},{"name":"Player486","uuid":"c6ee12ed-7678-319d-87c9-a5de81832a4f","expiresOn":"2019-08-20 00:46:08 +0200"},{"name":"Player646","uuid":"3e22f9fd-d6d5-3659-ae8e-767882feb736","expiresOn":"2019-05-09 20:21:22 +0200"},{"name":"Player317","uuid":"7666ee64-0e62-3b6a-bb71-85f97c5e0623","expiresOn":"2019-08-20 00:54:03 +0200"},{"name":"Player278","uuid":"61fd2fee-c62a-393f-b126-a9885f9b4361","expiresOn":"2019-04-04 14:35:18 +0200"},{"name":"Player735","uuid":"fd6f2cd7-e2c4-325a-9688-114cce28bfc9","expiresOn":"2020-09-28 14:40:45 +0200"}]
4 changes: 2 additions & 2 deletions src/minecraft/de/chrissx/mods/combat/Aimbot.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ public void onTick() {
if(!(e instanceof EntityLivingBase) || e == player() || e.isInvisible() || e.isDead || player().getDistanceToEntity(e) > 30)
continue;
else {
Util.faceEntity(e);
Util.faceBounds(e.boundingBox);
return;
}
else
Util.sendMessage("�4Currently bow mode isn't supported.");
Util.sendMessage("\u00a74Currently bow mode isn't supported.");
}

@Override
Expand Down
2 changes: 1 addition & 1 deletion src/minecraft/de/chrissx/mods/combat/Killaura.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public void onTick() {
boolean miss = (Random.randBool() && Random.randBool());

if(legit1 && attack && !miss)
Util.faceEntity(e);
Util.faceBounds(e.boundingBox);
if(!hc.getMods().noswing.isEnabled() && (attack || !legit2))
player().swingItem();
if(!legit2 || (attack && !miss))
Expand Down
5 changes: 3 additions & 2 deletions src/minecraft/de/chrissx/util/Consts.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ public static void init(File dotMinecraftDir) {
public static String optionsFile;
public static String eapiOptionsFile;
public static final String clientName = "CXClient";
public static final String version = "alpha 3207";
public static final String version = "alpha 3208";
public static final String mcVersion = "1.8.8";
public static final int BLDNUM = -3207;
public static final int BLDNUM = -3208;
public static final int APIVER = -1;
public static final String[] changelog = new String[] {
clientName + " " + version + " Changelog:",
Expand All @@ -56,6 +56,7 @@ public static void init(File dotMinecraftDir) {
"-Dying mobs/players are no longer attacked by the KillAura",
"-Fixed a bug where when Velocity was enabled other entities (ender pearls) wouldn't move horizontically",
"-Added a new slowdown mode to slow down Killaura without enabling other legit modes",
"-Killaura and Aimbot now don't target \"perfectly\", but always look at slightly different points on the target",
};

public static final String[] credits = new String[] {
Expand Down
4 changes: 4 additions & 0 deletions src/minecraft/de/chrissx/util/Random.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,8 @@ public static float randFloat() {
public static double randDouble() {
return rand.nextDouble();
}

public static double randDouble(double min, double max) {
return rand.nextDouble() * (max - min) + min;
}
}
21 changes: 12 additions & 9 deletions src/minecraft/de/chrissx/util/Util.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import net.minecraft.block.Block;
import net.minecraft.client.Minecraft;
import net.minecraft.client.entity.EntityPlayerSP;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
Expand All @@ -33,6 +32,7 @@
import net.minecraft.network.play.client.C07PacketPlayerDigging;
import net.minecraft.network.play.client.C07PacketPlayerDigging.Action;
import net.minecraft.network.play.client.C10PacketCreativeInventoryAction;
import net.minecraft.util.AxisAlignedBB;
import net.minecraft.util.BlockPos;
import net.minecraft.util.ChatAllowedCharacters;
import net.minecraft.util.EnumFacing;
Expand Down Expand Up @@ -307,23 +307,26 @@ public static boolean isWater(Block b)
}

public static void faceBlock(BlockPos p) {
applyRotations(getRotationsNeeded(p.getX(), p.getY(), p.getZ(), 0.5f));
faceCoords(p.getX(), p.getY(), p.getZ(), p.getX() + 1, p.getY() + 1, p.getZ() + 1);
}

public static void faceEntity(Entity e) {
applyRotations(getRotationsNeeded(e.posX, e.posY, e.posZ, e.getEyeHeight()));
public static void faceBounds(AxisAlignedBB box) {
faceCoords(box.minX, box.minY, box.minZ, box.maxX, box.maxY, box.maxZ);
}

public static void faceCoords(double minX, double minY, double minZ, double maxX, double maxY, double maxZ) {
applyRotations(getRotationsNeeded(minX, minY, minZ, maxX, maxY, maxZ));
}

static void applyRotations(float[] rotations) {
if(rotations == null) return;
mc.thePlayer.rotationYaw = rotations[0];
mc.thePlayer.rotationPitch = rotations[1] + 8.1f;
}

static float[] getRotationsNeeded(double posX, double posY, double posZ, float eyeHeight) {
double x = posX - mc.thePlayer.posX;
double y = posY + eyeHeight * 0.9 - (mc.thePlayer.posY + mc.thePlayer.getEyeHeight());
double z = posZ - mc.thePlayer.posZ;
static float[] getRotationsNeeded(double minX, double minY, double minZ, double maxX, double maxY, double maxZ) {
double x = Random.randDouble(minX, maxX) - mc.thePlayer.posX;
double y = Random.randDouble(minY, maxY) - (mc.thePlayer.posY + mc.thePlayer.getEyeHeight());
double z = Random.randDouble(minZ, maxZ) - mc.thePlayer.posZ;
return new float[] {mc.thePlayer.rotationYaw + MathHelper.wrapAngleTo180_float(((float)(Math.atan2(z, x) * 180 / Math.PI) - 90) - mc.thePlayer.rotationYaw),
mc.thePlayer.rotationPitch + MathHelper.wrapAngleTo180_float(((float)-(Math.atan2(y, MathHelper.sqrt(x * x + z * z)) * 180 / Math.PI)) - mc.thePlayer.rotationPitch)};
}
Expand Down

0 comments on commit de1cf0f

Please sign in to comment.