Java 类net.minecraft.client.gui.inventory.GuiEditSign 实例源码

项目:Resilience-Client-Source    文件:EntityPlayerSP.java   
public void func_146100_a(TileEntity p_146100_1_)
{
    if (p_146100_1_ instanceof TileEntitySign)
    {
        this.mc.displayGuiScreen(new GuiEditSign((TileEntitySign)p_146100_1_));
    }
    else if (p_146100_1_ instanceof TileEntityCommandBlock)
    {
        this.mc.displayGuiScreen(new GuiCommandBlock(((TileEntityCommandBlock)p_146100_1_).func_145993_a()));
    }
}
项目:Cauldron    文件:EntityPlayerSP.java   
public void func_146100_a(TileEntity p_146100_1_)
{
    if (p_146100_1_ instanceof TileEntitySign)
    {
        this.mc.displayGuiScreen(new GuiEditSign((TileEntitySign)p_146100_1_));
    }
    else if (p_146100_1_ instanceof TileEntityCommandBlock)
    {
        this.mc.displayGuiScreen(new GuiCommandBlock(((TileEntityCommandBlock)p_146100_1_).func_145993_a()));
    }
}
项目:Cauldron    文件:EntityPlayerSP.java   
public void func_146100_a(TileEntity p_146100_1_)
{
    if (p_146100_1_ instanceof TileEntitySign)
    {
        this.mc.displayGuiScreen(new GuiEditSign((TileEntitySign)p_146100_1_));
    }
    else if (p_146100_1_ instanceof TileEntityCommandBlock)
    {
        this.mc.displayGuiScreen(new GuiCommandBlock(((TileEntityCommandBlock)p_146100_1_).func_145993_a()));
    }
}
项目:RuneCraftery    文件:EntityPlayerSP.java   
public void func_71014_a(TileEntity p_71014_1_) {
   if(p_71014_1_ instanceof TileEntitySign) {
      this.field_71159_c.func_71373_a(new GuiEditSign((TileEntitySign)p_71014_1_));
   } else if(p_71014_1_ instanceof TileEntityCommandBlock) {
      this.field_71159_c.func_71373_a(new GuiCommandBlock((TileEntityCommandBlock)p_71014_1_));
   }

}
项目:RuneCraftery    文件:EntityPlayerSP.java   
/**
 * Displays the GUI for editing a sign. Args: tileEntitySign
 */
public void displayGUIEditSign(TileEntity par1TileEntity)
{
    if (par1TileEntity instanceof TileEntitySign)
    {
        this.mc.displayGuiScreen(new GuiEditSign((TileEntitySign)par1TileEntity));
    }
    else if (par1TileEntity instanceof TileEntityCommandBlock)
    {
        this.mc.displayGuiScreen(new GuiCommandBlock((TileEntityCommandBlock)par1TileEntity));
    }
}
项目:BetterNutritionMod    文件:EntityPlayerSP.java   
/**
 * Displays the GUI for editing a sign. Args: tileEntitySign
 */
public void displayGUIEditSign(TileEntity par1TileEntity)
{
    if (par1TileEntity instanceof TileEntitySign)
    {
        this.mc.displayGuiScreen(new GuiEditSign((TileEntitySign)par1TileEntity));
    }
    else if (par1TileEntity instanceof TileEntityCommandBlock)
    {
        this.mc.displayGuiScreen(new GuiCommandBlock((TileEntityCommandBlock)par1TileEntity));
    }
}
项目:DecompiledMinecraft    文件:EntityPlayerSP.java   
public void openEditSign(TileEntitySign signTile)
{
    this.mc.displayGuiScreen(new GuiEditSign(signTile));
}
项目:BaseClient    文件:EntityPlayerSP.java   
public void openEditSign(TileEntitySign signTile)
{
    this.mc.displayGuiScreen(new GuiEditSign(signTile));
}
项目:BaseClient    文件:EntityPlayerSP.java   
public void openEditSign(TileEntitySign signTile) {
    this.mc.displayGuiScreen(new GuiEditSign(signTile));
}
项目:Zombe-Modpack    文件:EntityPlayerSP.java   
public void openEditSign(TileEntitySign signTile)
{
    this.mc.displayGuiScreen(new GuiEditSign(signTile));
}
项目:EMC    文件:IClassHandler.java   
public IGuiEditSign() {
    super(GuiEditSign.class);
}
项目:EMC    文件:IClassHandler.java   
public void setText(String text, int line) {
    ((GuiEditSign) this.screen).tileSign.signText[line] = new TextComponentString(text);
}
项目:EMC    文件:IClassHandler.java   
public void save() {
    ((GuiEditSign) this.screen).tileSign.markDirty();
}
项目:Backmemed    文件:EntityPlayerSP.java   
public void openEditSign(TileEntitySign signTile)
{
    this.mc.displayGuiScreen(new GuiEditSign(signTile));
}
项目:CustomWorldGen    文件:EntityPlayerSP.java   
public void openEditSign(TileEntitySign signTile)
{
    this.mc.displayGuiScreen(new GuiEditSign(signTile));
}
项目:TextFormatting    文件:SignGui.java   
public GuiButton getDoneButton()
{
    String field = ObfuscatedField.fromMcp( "net/minecraft/client/gui/inventory/GuiEditSign", "doneBtn" ).srgName;
    return ( GuiButton ) ReflectionHelper.getPrivateValue( GuiEditSign.class, this, field );
}
项目:TextFormatting    文件:SignGui.java   
public int getEditLine()
{
    String field = ObfuscatedField.fromMcp( "net/minecraft/client/gui/inventory/GuiEditSign", "editLine" ).srgName;
    return ( Integer ) ReflectionHelper.getPrivateValue( GuiEditSign.class, this, field );
}
项目:TextFormatting    文件:SignGui.java   
public void setEditLine( int line )
{
    String field = ObfuscatedField.fromMcp( "net/minecraft/client/gui/inventory/GuiEditSign", "editLine" ).srgName;
    ReflectionHelper.setPrivateValue( GuiEditSign.class, this, line, field );
}
项目:ExpandedRailsMod    文件:EntityPlayerSP.java   
public void openEditSign(TileEntitySign signTile)
{
    this.mc.displayGuiScreen(new GuiEditSign(signTile));
}