本文整理汇总了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);
}