Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(handler.getStackInSlot(0) == VoidaicAltarRecipes.INSTANCE.getIngredient1())
- {
- if(handler.getStackInSlot(1) == VoidaicAltarRecipes.INSTANCE.getIngredient2())
- {
- if(handler.getStackInSlot(2) == VoidaicAltarRecipes.INSTANCE.getIngredient3())
- {
- if(handler.getStackInSlot(0).getItem() == ModItems.SPELL_PAPER
- || handler.getStackInSlot(1).getItem() == ModItems.SPELL_PAPER
- || handler.getStackInSlot(2).getItem() == ModItems.SPELL_PAPER)
- {
- isCraftingSpell = true;
- isCraftingItem = false;
- }
- else
- {
- isCraftingItem = true;
- isCraftingSpell = false;
- }
- }
- }
- else if(handler.getStackInSlot(1) == VoidaicAltarRecipes.INSTANCE.getIngredient3())
- {
- if(handler.getStackInSlot(2) == VoidaicAltarRecipes.INSTANCE.getIngredient2())
- {
- if(handler.getStackInSlot(0).getItem() == ModItems.SPELL_PAPER
- || handler.getStackInSlot(1).getItem() == ModItems.SPELL_PAPER
- || handler.getStackInSlot(2).getItem() == ModItems.SPELL_PAPER)
- {
- isCraftingSpell = true;
- isCraftingItem = false;
- }
- else
- {
- isCraftingItem = true;
- isCraftingSpell = false;
- }
- }
- }
- }
- else if(handler.getStackInSlot(0) == VoidaicAltarRecipes.INSTANCE.getIngredient2())
- {
- if(handler.getStackInSlot(1) == VoidaicAltarRecipes.INSTANCE.getIngredient1())
- {
- if(handler.getStackInSlot(2) == VoidaicAltarRecipes.INSTANCE.getIngredient3())
- {
- if(handler.getStackInSlot(0).getItem() == ModItems.SPELL_PAPER
- || handler.getStackInSlot(1).getItem() == ModItems.SPELL_PAPER
- || handler.getStackInSlot(2).getItem() == ModItems.SPELL_PAPER)
- {
- isCraftingSpell = true;
- isCraftingItem = false;
- }
- else
- {
- isCraftingItem = true;
- isCraftingSpell = false;
- }
- }
- }
- else if(handler.getStackInSlot(1) == VoidaicAltarRecipes.INSTANCE.getIngredient3())
- {
- if(handler.getStackInSlot(2) == VoidaicAltarRecipes.INSTANCE.getIngredient1())
- {
- if(handler.getStackInSlot(0).getItem() == ModItems.SPELL_PAPER
- || handler.getStackInSlot(1).getItem() == ModItems.SPELL_PAPER
- || handler.getStackInSlot(2).getItem() == ModItems.SPELL_PAPER)
- {
- isCraftingSpell = true;
- isCraftingItem = false;
- }
- else
- {
- isCraftingItem = true;
- isCraftingSpell = false;
- }
- }
- }
- }
- else if(handler.getStackInSlot(0) == VoidaicAltarRecipes.INSTANCE.getIngredient3())
- {
- if(handler.getStackInSlot(1) == VoidaicAltarRecipes.INSTANCE.getIngredient2())
- {
- if(handler.getStackInSlot(2) == VoidaicAltarRecipes.INSTANCE.getIngredient1())
- {
- if(handler.getStackInSlot(0).getItem() == ModItems.SPELL_PAPER
- || handler.getStackInSlot(1).getItem() == ModItems.SPELL_PAPER
- || handler.getStackInSlot(2).getItem() == ModItems.SPELL_PAPER)
- {
- isCraftingSpell = true;
- isCraftingItem = false;
- }
- else
- {
- isCraftingItem = true;
- isCraftingSpell = false;
- }
- }
- }
- else if(handler.getStackInSlot(1) == VoidaicAltarRecipes.INSTANCE.getIngredient1())
- {
- if(handler.getStackInSlot(2) == VoidaicAltarRecipes.INSTANCE.getIngredient2())
- {
- if(handler.getStackInSlot(0).getItem() == ModItems.SPELL_PAPER
- || handler.getStackInSlot(1).getItem() == ModItems.SPELL_PAPER
- || handler.getStackInSlot(2).getItem() == ModItems.SPELL_PAPER)
- {
- isCraftingSpell = true;
- isCraftingItem = false;
- }
- else
- {
- isCraftingItem = true;
- isCraftingSpell = false;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement