Skip to content

Commit

Permalink
Stupid client side methods...
Browse files Browse the repository at this point in the history
  • Loading branch information
ganymedes01 committed Aug 22, 2015
1 parent 80d25a5 commit d136089
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -2,14 +2,13 @@

import net.minecraft.entity.Entity;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.MathHelper;
import net.minecraft.util.Vec3;

public class BlockPos extends Vec3i {

public static final BlockPos ORIGIN = new BlockPos(0, 0, 0);

private static final int NUM_X_BITS = 1 + MathHelper.calculateLogBaseTwo(MathHelper.roundUpToPowerOfTwo(30000000));
private static final int NUM_X_BITS = 26;
private static final int NUM_Z_BITS = NUM_X_BITS;
private static final int NUM_Y_BITS = 64 - NUM_X_BITS - NUM_Z_BITS;
private static final int Y_SHIFT = 0 + NUM_Z_BITS;
Expand Down

0 comments on commit d136089

Please sign in to comment.