Initial work on the Attractor alchemy array. Very WIP and is not quite where I like it.

This commit is contained in:
WayofTime 2016-06-27 20:01:34 -04:00
parent a35e4385ed
commit ad546380a3
11 changed files with 895 additions and 6 deletions

View file

@ -1,5 +1,6 @@
package WayofTime.bloodmagic.tile;
import net.minecraft.inventory.InventoryHelper;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.network.NetworkManager;
import net.minecraft.network.play.server.SPacketUpdateTileEntity;
@ -75,6 +76,19 @@ public class TileAlchemyArray extends TileInventory implements ITickable
}
}
/**
* This occurs when the block is destroyed.
*/
@Override
public void dropItems()
{
super.dropItems();
if (arrayEffect != null)
{
}
}
public boolean attemptCraft()
{
AlchemyArrayEffect effect = AlchemyArrayRecipeRegistry.getAlchemyArrayEffect(this.getStackInSlot(0), this.getStackInSlot(1));