Almost ready for final 1.2.0 push
This commit is contained in:
parent
4a1f13d988
commit
3d6d7bcdd6
12 changed files with 136 additions and 46 deletions
|
@ -4,6 +4,7 @@ import java.util.ArrayList;
|
|||
import java.util.List;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockFurnace;
|
||||
import net.minecraft.entity.item.EntityItem;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.init.Blocks;
|
||||
|
@ -116,7 +117,7 @@ public class RitualEffectItemSuction extends RitualEffect
|
|||
// }
|
||||
// }
|
||||
|
||||
count++;
|
||||
//count++;
|
||||
|
||||
ItemStack newStack = SpellHelper.insertStackIntoInventory(copyStack, tileEntity);
|
||||
|
||||
|
@ -126,6 +127,7 @@ public class RitualEffectItemSuction extends RitualEffect
|
|||
if(newStack.stackSize<=0)
|
||||
{
|
||||
itemEntity.setDead();
|
||||
itemEntity.getEntityItem().stackSize = newStack.stackSize;
|
||||
}
|
||||
|
||||
if (newStack.stackSize > 0)
|
||||
|
@ -134,8 +136,9 @@ public class RitualEffectItemSuction extends RitualEffect
|
|||
}
|
||||
if(hasReductus)
|
||||
{
|
||||
BlockFurnace d;
|
||||
this.canDrainReagent(ritualStone, ReagentRegistry.reductusReagent, reductusDrain, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue