本文整理汇总了Java中net.minecraft.client.gui.GuiPageButtonList.GuiResponder方法的典型用法代码示例。如果您正苦于以下问题:Java GuiPageButtonList.GuiResponder方法的具体用法?Java GuiPageButtonList.GuiResponder怎么用?Java GuiPageButtonList.GuiResponder使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类net.minecraft.client.gui.GuiPageButtonList
的用法示例。
在下文中一共展示了GuiPageButtonList.GuiResponder方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: Slider
import net.minecraft.client.gui.GuiPageButtonList; //导入方法依赖的package包/类
public Slider(GuiPageButtonList.GuiResponder guiResponder, int idIn, int x, int y, int width, int height, String name, float min, float max, float defaultValue, float stepSize, Slider.FormatHelper formatter)
{
super(idIn, x, y, width, height, "");
this.name = name;
this.min = min;
this.max = max;
this.stepSize = stepSize;
this.sliderPosition = (defaultValue - min) / (max - min);
this.formatHelper = formatter;
this.responder = guiResponder;
this.displayString = this.getDisplayString();
}
示例2: setGuiResponder
import net.minecraft.client.gui.GuiPageButtonList; //导入方法依赖的package包/类
/**
* Sets the GuiResponder associated with this text box.
*/
public void setGuiResponder(GuiPageButtonList.GuiResponder guiResponderIn)
{
guiResponder = guiResponderIn;
}
示例3: setGuiResponder
import net.minecraft.client.gui.GuiPageButtonList; //导入方法依赖的package包/类
/**
* Sets the GuiResponder associated with this text box.
*/
public void setGuiResponder(GuiPageButtonList.GuiResponder guiResponderIn) {
this.guiResponder = guiResponderIn;
}
示例4: setGuiResponder
import net.minecraft.client.gui.GuiPageButtonList; //导入方法依赖的package包/类
public void setGuiResponder(GuiPageButtonList.GuiResponder guiResponder) {
this.guiResponder = guiResponder;
}
示例5: setGuiResponder
import net.minecraft.client.gui.GuiPageButtonList; //导入方法依赖的package包/类
/**
* Sets the GuiResponder associated with this text box.
*/
public void setGuiResponder(GuiPageButtonList.GuiResponder guiResponderIn)
{
this.guiResponder = guiResponderIn;
}
示例6: func_175207_a
import net.minecraft.client.gui.GuiPageButtonList; //导入方法依赖的package包/类
public void func_175207_a(GuiPageButtonList.GuiResponder p_175207_1_) {
field_175210_x = p_175207_1_;
}
示例7: setGuiResponder
import net.minecraft.client.gui.GuiPageButtonList; //导入方法依赖的package包/类
/**
* Sets the GuiResponder associated with this text box.
*/
public void setGuiResponder(GuiPageButtonList.GuiResponder guiResponderIn) {
this.guiResponder = guiResponderIn;
}