Jump to content

portalthree

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by portalthree

  1. I'm making a mod to make hypixel skyblock players life a bit easier ig and this would save a bunch of time to everyone
  2. if (ToggleCommand.) { if (Minecraft.getMinecraft().instanceof GuiChest) { GuiChest = (GuiChest) Minecraft.getMinecraft().; ContainerChest = (ContainerChest) .; String = .getLowerChestInventory().getDisplayName().getUnformattedText(); if (.trim().startsWith("Select all the SILVER items!")) { System.out.println(); if(cc.getLowerChestInventory().getStackInSlot().getDisplayName().startsWith("Silver")){ System.out.println("Silver block detected"); } else { return; } } else { return; } } } I need to check all the items in cc to see if there is an item wich name start with "Silver", if i use getStackInSlot() i have to specify wich slot i want to check and that's not effecient since i'll have to copy that lign like 40 times.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.