Skip to content

Commit

Permalink
Remove old commented debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
Roadhog360 committed Nov 25, 2021
1 parent 0277faf commit 45c7c02
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ public boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block b
renderer.uvRotateWest = orient > 1 ? 3 - orient : orient + 2; // Rotate south-facing side (NO NEED FOR MIRROR)
renderer.uvRotateBottom = orient > 1 ? 2 * orient - 4 : 3 - 2 * orient; // (ALL orientations are wrong)

// System.out.println("Meta: " + Integer.toString(orient) + " Rotation: " + Integer.toString(orient > 1 ? 2 * orient - 4 : 3 - 2 * orient));

int l = block.colorMultiplier(world, x, y, z);
float f = (l >> 16 & 255) / 255.0F;
float f1 = (l >> 8 & 255) / 255.0F;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public static boolean isPlayerModelAlex(EntityPlayer player) {
// alexCache.clear();
Boolean isAlex = alexCache.get(player.getUniqueID());
if(isAlex == null) {
// System.out.println("test");
NBTTagCompound nbt = player.getEntityData();
if(nbt.hasKey(MODEL_KEY, Constants.NBT.TAG_BYTE))
nbt.removeTag(MODEL_KEY);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,6 @@ public void onUpdate()
}

this.setPosition(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ);
// System.out.println((worldObj.isRemote ? "Client: " : "Server: ") + posX + " " + posY + " " + posZ);
// System.out.println((worldObj.isRemote ? "Client: " : "Server: ") + motionX + " " + motionY + " " + motionZ);
Utils.rotateTowardsMovement(this, 0.5F);

if (this.worldObj.isRemote)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public boolean continueExecuting() {

@Override
public void updateTask() {
// System.out.println(shouldExecute());
int i = MathHelper.floor_double(theEntity.posX);
int j = MathHelper.floor_double(theEntity.posY + 0.5D);
int k = MathHelper.floor_double(theEntity.posZ);
Expand Down

0 comments on commit 45c7c02

Please sign in to comment.