Package com.mojang.minecraft.player

Examples of com.mojang.minecraft.player.Player$1


      this.minecraft = var1;
      this.heldBlock = new HeldBlock(var1);
   }

   public Vec3D getPlayerVector(float var1) {
      Player var4;
      float var2 = (var4 = this.minecraft.player).xo + (var4.x - var4.xo) * var1;
      float var3 = var4.yo + (var4.y - var4.yo) * var1;
      float var5 = var4.zo + (var4.z - var4.zo) * var1;
      return new Vec3D(var2, var3, var5);
   }
View Full Code Here


      float var5 = var4.zo + (var4.z - var4.zo) * var1;
      return new Vec3D(var2, var3, var5);
   }

   public void hurtEffect(float var1) {
      Player var3;
      float var2 = (float)(var3 = this.minecraft.player).hurtTime - var1;
      if(var3.health <= 0) {
         var1 += (float)var3.deathTime;
         GL11.glRotatef(40.0F - 8000.0F / (var1 + 200.0F), 0.0F, 0.0F, 1.0F);
      }
View Full Code Here

         GL11.glRotatef(var1, 0.0F, 1.0F, 0.0F);
      }
   }

   public void applyBobbing(float var1) {
      Player var4;
      float var2 = (var4 = this.minecraft.player).walkDist - var4.walkDistO;
      var2 = var4.walkDist + var2 * var1;
      float var3 = var4.oBob + (var4.bob - var4.oBob) * var1;
      float var5 = var4.oTilt + (var4.tilt - var4.oTilt) * var1;
      GL11.glTranslatef(MathHelper.sin(var2 * 3.1415927F) * var3 * 0.5F, -Math.abs(MathHelper.cos(var2 * 3.1415927F) * var3), 0.0F);
View Full Code Here

      GL11.glTranslatef(0.0F, 0.0F, -200.0F);
   }

   public void updateFog() {
      Level var1 = this.minecraft.level;
      Player var2 = this.minecraft.player;
      GL11.glFog(2918, this.createBuffer(this.fogRed, this.fogBlue, this.fogGreen, 1.0F));
      GL11.glNormal3f(0.0F, -1.0F, 0.0F);
      GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
      Block var5;
      if((var5 = Block.blocks[var1.getTile((int)var2.x, (int)(var2.y + 0.12F), (int)var2.z)]) != null && var5.getLiquidType() != LiquidType.NOT_LIQUID) {
View Full Code Here

      this.heightOffset = 1.62F;
      this.health = 20;
      this.modelName = "humanoid";
      this.rotOffs = 180.0F;
      this.ai = new Player$1(this);
   }
View Full Code Here

  private MCLogger(String category, String logPrefix) {
    this.logPrefix = logPrefix;
    this.logger = Logger.getLogger(category);
    this.logger.setLevel(Config.getLogLevel(category));
    this.logger.setUseParentHandlers(false);
    this.logger.addHandler(new MCLogger$1(this));
  }
View Full Code Here

  final MCLogger this$0;

  MCLogger$1(MCLogger var1) {
    this.this$0 = var1;
    this.formatter = new MCLogger$1$1(this);
  }
View Full Code Here

      }
    } else {
      findResources(namespace, directory, suffix, recursive, directories, resources);
    }

    Collections.sort(resources, new TexturePackAPI$1(sortByFilename));
    return resources;
  }
View Full Code Here

        }
      }

      handlers.add(handler);
      logger.fine("registered texture pack handler %s, priority %d", new Object[] {handler.name, Integer.valueOf(handler.order)});
      Collections.sort(handlers, new TexturePackChangeHandler$1());
    }
  }
View Full Code Here

  private static final long K1 = -5435081209227447693L;
  private static final long KMUL = -7070675565921424023L;
  final int size;

  public static WeightedIndex create(int size) {
    return size <= 0 ? null : new WeightedIndex$1(size);
  }
View Full Code Here

TOP

Related Classes of com.mojang.minecraft.player.Player$1

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.