Package net.minecraft.src

Examples of net.minecraft.src.GameSettings


        {
          EntityClientPlayerMP thePlayer = mc.thePlayer;
         
          //buttons?
          //TODO: move this somewhere sane and make configurable
          GameSettings settings = mc.gameSettings;
 
          if((cont2.buttons & EnumButton.START.mask())>0 &&
            (lastcont2Buttons & EnumButton.START.mask()) == 0)
          {
            if(mc.currentScreen != null)
View Full Code Here


  }

  @Override
  public boolean conflicts(ControlsBasicItem other) {
    if (other instanceof VanillaBindingItem) {
      GameSettings settings = SpoutClient.getHandle().gameSettings;
      VanillaBindingItem item = (VanillaBindingItem)other;
      boolean flightKey = binding == settings.keyFlyBack ||
        binding == settings.keyFlyLeft ||
        binding == settings.keyFlyForward ||
        binding == settings.keyFlyRight ||
View Full Code Here

  }

  @Override
  public boolean conflicts(ControlsBasicItem other) {
    if (other instanceof SpoutcraftBindingItem) {
      GameSettings settings = SpoutClient.getHandle().gameSettings;
      SpoutcraftBindingItem item = (SpoutcraftBindingItem)other;
      boolean flightKey = item.binding == settings.keyFlyBack ||
        item.binding == settings.keyFlyLeft ||
        item.binding == settings.keyFlyForward ||
        item.binding == settings.keyFlyRight ||
View Full Code Here

  }

  public void run(int PlayerId) {
    Minecraft game = SpoutClient.getHandle();
    if (game != null) {
      GameSettings settings = game.gameSettings;
      if (view > -1 && view < 4) {
        settings.renderDistance = view;
      }
    }
    if (min > -1 && min < 4) {
View Full Code Here

        }

        OpenGlHelper.initializeTextures();
        mcDataDir = getMinecraftDir();
        saveLoader = new AnvilSaveConverter(new File(mcDataDir, "saves"));
        gameSettings = new GameSettings(this, mcDataDir);
        texturePackList = new TexturePackList(this, mcDataDir);
        renderEngine = new RenderEngine(texturePackList, gameSettings);
        loadScreen();
        fontRenderer = new FontRenderer(gameSettings, "/font/default.png", renderEngine, false);
        standardGalacticFontRenderer = new FontRenderer(gameSettings, "/font/alternate.png", renderEngine, false);
View Full Code Here

TOP

Related Classes of net.minecraft.src.GameSettings

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.