本文整理匯總了Java中net.minecraft.client.Minecraft.isJava64bit方法的典型用法代碼示例。如果您正苦於以下問題:Java Minecraft.isJava64bit方法的具體用法?Java Minecraft.isJava64bit怎麽用?Java Minecraft.isJava64bit使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類net.minecraft.client.Minecraft
的用法示例。
在下文中一共展示了Minecraft.isJava64bit方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: GameSettings
import net.minecraft.client.Minecraft; //導入方法依賴的package包/類
public GameSettings(Minecraft mcIn, File p_i46326_2_)
{
this.keyBindings = (KeyBinding[])ArrayUtils.addAll(new KeyBinding[] {this.keyBindAttack, this.keyBindUseItem, this.keyBindForward, this.keyBindLeft, this.keyBindBack, this.keyBindRight, this.keyBindJump, this.keyBindSneak, this.keyBindSprint, this.keyBindDrop, this.keyBindInventory, this.keyBindChat, this.keyBindPlayerList, this.keyBindPickBlock, this.keyBindCommand, this.keyBindScreenshot, this.keyBindTogglePerspective, this.keyBindSmoothCamera, this.keyBindStreamStartStop, this.keyBindStreamPauseUnpause, this.keyBindStreamCommercials, this.keyBindStreamToggleMic, this.keyBindFullscreen, this.keyBindSpectatorOutlines}, this.keyBindsHotbar);
this.difficulty = EnumDifficulty.NORMAL;
this.lastServer = "";
this.fovSetting = 70.0F;
this.language = "en_US";
this.forceUnicodeFont = false;
this.mc = mcIn;
this.optionsFile = new File(p_i46326_2_, "options.txt");
if (mcIn.isJava64bit() && Runtime.getRuntime().maxMemory() >= 1000000000L)
{
GameSettings.Options.RENDER_DISTANCE.setValueMax(32.0F);
}
else
{
GameSettings.Options.RENDER_DISTANCE.setValueMax(16.0F);
}
this.renderDistanceChunks = mcIn.isJava64bit() ? 12 : 8;
this.loadOptions();
}
示例2: GameSettings
import net.minecraft.client.Minecraft; //導入方法依賴的package包/類
public GameSettings(Minecraft mcIn, File optionsFileIn)
{
setForgeKeybindProperties();
this.keyBindings = (KeyBinding[])ArrayUtils.addAll(new KeyBinding[] {this.keyBindAttack, this.keyBindUseItem, this.keyBindForward, this.keyBindLeft, this.keyBindBack, this.keyBindRight, this.keyBindJump, this.keyBindSneak, this.keyBindSprint, this.keyBindDrop, this.keyBindInventory, this.keyBindChat, this.keyBindPlayerList, this.keyBindPickBlock, this.keyBindCommand, this.keyBindScreenshot, this.keyBindTogglePerspective, this.keyBindSmoothCamera, this.keyBindFullscreen, this.keyBindSpectatorOutlines, this.keyBindSwapHands}, this.keyBindsHotbar);
this.difficulty = EnumDifficulty.NORMAL;
this.lastServer = "";
this.fovSetting = 70.0F;
this.language = "en_US";
this.mc = mcIn;
this.optionsFile = new File(optionsFileIn, "options.txt");
if (mcIn.isJava64bit() && Runtime.getRuntime().maxMemory() >= 1000000000L)
{
GameSettings.Options.RENDER_DISTANCE.setValueMax(32.0F);
}
else
{
GameSettings.Options.RENDER_DISTANCE.setValueMax(16.0F);
}
this.renderDistanceChunks = mcIn.isJava64bit() ? 12 : 8;
this.loadOptions();
}
示例3: GameSettings
import net.minecraft.client.Minecraft; //導入方法依賴的package包/類
public GameSettings(Minecraft mcIn, File optionsFileIn)
{
this.setForgeKeybindProperties();
this.keyBindings = (KeyBinding[])((KeyBinding[])ArrayUtils.addAll(new KeyBinding[] {this.keyBindAttack, this.keyBindUseItem, this.keyBindForward, this.keyBindLeft, this.keyBindBack, this.keyBindRight, this.keyBindJump, this.keyBindSneak, this.keyBindSprint, this.keyBindDrop, this.keyBindInventory, this.keyBindChat, this.keyBindPlayerList, this.keyBindPickBlock, this.keyBindCommand, this.keyBindScreenshot, this.keyBindTogglePerspective, this.keyBindSmoothCamera, this.keyBindFullscreen, this.keyBindSpectatorOutlines, this.keyBindSwapHands}, this.keyBindsHotbar));
this.difficulty = EnumDifficulty.NORMAL;
this.lastServer = "";
this.fovSetting = 70.0F;
this.language = "en_us";
this.mc = mcIn;
this.optionsFile = new File(optionsFileIn, "options.txt");
if (mcIn.isJava64bit() && Runtime.getRuntime().maxMemory() >= 1000000000L)
{
GameSettings.Options.RENDER_DISTANCE.setValueMax(32.0F);
}
else
{
GameSettings.Options.RENDER_DISTANCE.setValueMax(16.0F);
}
this.renderDistanceChunks = mcIn.isJava64bit() ? 12 : 8;
this.optionsFileOF = new File(optionsFileIn, "optionsof.txt");
this.limitFramerate = (int)GameSettings.Options.FRAMERATE_LIMIT.getValueMax();
this.ofKeyBindZoom = new KeyBinding("of.key.zoom", 46, "key.categories.misc");
this.keyBindings = (KeyBinding[])((KeyBinding[])ArrayUtils.add(this.keyBindings, this.ofKeyBindZoom));
GameSettings.Options.RENDER_DISTANCE.setValueMax(32.0F);
this.renderDistanceChunks = 8;
this.loadOptions();
Config.initGameSettings(this);
}