/**
* Called by the controls from the buttonList when activated. (Mouse pressed for buttons)
*/
protected void actionPerformed(GuiButton button) throws IOException
{
if (button.enabled)
{
if (button.id == 200)
{
this.mc.gameSettings.saveOptions();
this.mc.displayGuiScreen(this.parentScreen);
}
else if (button instanceof GuiCustomizeSkin.ButtonPart)
{
EnumPlayerModelParts enumplayermodelparts = ((GuiCustomizeSkin.ButtonPart)button).playerModelParts;
this.mc.gameSettings.switchModelPartEnabled(enumplayermodelparts);
button.displayString = this.func_175358_a(enumplayermodelparts);
}
}
}
GuiCustomizeSkin.java 文件源码
java
阅读 21
收藏 0
点赞 0
评论 0
项目:BaseClient
作者:
评论列表
文章目录