The Navigator is available on servers, for example on Gomme. The menu is actually just a double chest with a modified label and content. Question:
How can I compare the box name / label with a string? If the name and the string are the same, mc should do something.
Check out GuiChest
Do you mean now with java? Probably yes. Here is the query for the box name or inventory name:
if (e.getInventory (). GetName (). Equals (DEINSTRING)) {
…
}
Hope I could help you, if not, please contact me again.
What is e
In this case, e is the event. However, you can also take player if it is not in an event.
But it must be in the Mod Coder Pack
So the method
I see. I read about it, I'm sorry. Thought this was about a plug-in. Then unfortunately I can't help you.
It says nut getDisplayName
I don't know if that's it, but:
private IInventory upperChestInventory;
private IInventory lowerChestInventory;
/ **
* Draw the foreground layer for the GuiContainer (everything in front of the items). Args: mouseX, mouseY
* /
protected void drawGuiContainerForegroundLayer (int mouseX, int mouseY)
{
this.fontRendererObj.drawString (this.lowerChestInventory.getDisplayName (). GetUnformattedText (), 8, 6, 4210752);
this.fontRendererObj.drawString (this.upperChestInventory.getDisplayName (). GetUnformattedText (), 8, this.ySize - 96 + 2, 4210752);
}
I think so, but how can that help me?