예제 #1
0
 @Override
 public String getItemStackDisplayName(ItemStack itemstack) {
   return StringUtils.localize(
           itemstack.getItemDamage() >= 16 ? "item.Filter.name" : "item.Lens.name")
       + " ("
       + StringUtils.localize("color." + ColorUtils.getName(getDye(itemstack)))
       + ")";
 }
예제 #2
0
  @Override
  protected void drawGuiContainerForegroundLayer(int mx, int my) {
    super.drawGuiContainerForegroundLayer(mx, my);

    String title = StringUtils.localize("tile.fillerBlock.name");
    fontRendererObj.drawString(title, getCenteredOffset(title), 6, 0x404040);
    fontRendererObj.drawString(StringUtils.localize("gui.filling.resources"), 8, 74, 0x404040);
    fontRendererObj.drawString(StringUtils.localize("gui.inventory"), 8, 142, 0x404040);
    GuiTools.drawCenteredString(fontRendererObj, filler.currentPattern.getDescription(), 56);

    drawTooltipForSlotAt(mx, my);
  }
예제 #3
0
 @Override
 public String getDescription() {
   return StringUtils.localize("gate.action.robot.filter");
 }
예제 #4
0
 @Override
 public String getInventoryName() {
   return StringUtils.localize("tile.stampingTableBlock.name");
 }
예제 #5
0
 @Override
 public String getDescription() {
   return StringUtils.localize("gate.trigger.machine." + (active ? "scheduled" : "done"));
 }
 @Override
 public String getDescription() {
   return StringUtils.localize("gate.action.robot.goto_station");
 }