Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /** VARS */
- CompactItem item1 = new CompactItem(p1.getStackInSlot(0).getItem(), p2.getStackInSlot(0).getItem());
- CompactItem item2 = new CompactItem(p2.getStackInSlot(0).getItem(), p1.getStackInSlot(0).getItem());
- /** WORKS */
- for(CompactItem items : RevivingRegistry.recipes.keySet()){
- System.out.println(items.item1.getUnlocalizedName() + " = " + items.item2.getUnlocalizedName() + " INPUT ");
- if(items.item1 == item1.item1 && items.item2 == item1.item2)
- System.out.println("It's equal but why doesn't it work 0.o");
- }
- /** DOESN'T WORK */
- if(RevivingRegistry.recipes.containsKey(item1) || RevivingRegistry.recipes.containsKey(item2)){
- System.out.println("Hey");
- //TODO CHECK FOR BUG
- }
Advertisement
Add Comment
Please, Sign In to add comment