public void func_146318_a(WorldInfo p_146318_1_)
{
this.field_146330_J = I18n.format("selectWorld.newWorld.copyOf", new Object[] {p_146318_1_.getWorldName()});
this.field_146329_I = p_146318_1_.getSeed() + "";
this.selectedIndex = p_146318_1_.getTerrainType().getWorldTypeID();
this.chunkProviderSettingsJson = p_146318_1_.getGeneratorOptions();
this.field_146341_s = p_146318_1_.isMapFeaturesEnabled();
this.allowCheats = p_146318_1_.areCommandsAllowed();
if (p_146318_1_.isHardcoreModeEnabled())
{
this.gameMode = "hardcore";
}
else if (p_146318_1_.getGameType().isSurvivalOrAdventure())
{
this.gameMode = "survival";
}
else if (p_146318_1_.getGameType().isCreative())
{
this.gameMode = "creative";
}
}
GuiCreateWorld.java 文件源码
java
阅读 32
收藏 0
点赞 0
评论 0
项目:DecompiledMinecraft
作者:
评论列表
文章目录