2015-12-23 18:45:47 -05:00
|
|
|
package WayofTime.bloodmagic.api.alchemyCrafting;
|
|
|
|
|
2016-06-27 11:21:37 -04:00
|
|
|
import lombok.Getter;
|
|
|
|
import lombok.RequiredArgsConstructor;
|
2016-06-28 13:35:42 -04:00
|
|
|
import net.minecraft.block.state.IBlockState;
|
|
|
|
import net.minecraft.entity.Entity;
|
2016-06-27 11:21:37 -04:00
|
|
|
import net.minecraft.nbt.NBTTagCompound;
|
2015-12-23 18:45:47 -05:00
|
|
|
import net.minecraft.tileentity.TileEntity;
|
2016-06-28 13:35:42 -04:00
|
|
|
import net.minecraft.util.math.BlockPos;
|
|
|
|
import net.minecraft.world.World;
|
2016-06-29 07:43:04 -04:00
|
|
|
import WayofTime.bloodmagic.api.iface.IAlchemyArray;
|
2015-12-23 18:45:47 -05:00
|
|
|
|
2016-06-27 11:21:37 -04:00
|
|
|
@RequiredArgsConstructor
|
2015-12-30 15:34:40 -05:00
|
|
|
public abstract class AlchemyArrayEffect
|
|
|
|
{
|
2016-06-27 11:21:37 -04:00
|
|
|
@Getter
|
|
|
|
public final String key;
|
|
|
|
|
2015-12-30 15:34:40 -05:00
|
|
|
public abstract boolean update(TileEntity tile, int ticksActive);
|
2016-06-27 11:21:37 -04:00
|
|
|
|
|
|
|
public abstract void writeToNBT(NBTTagCompound tag);
|
|
|
|
|
|
|
|
public abstract void readFromNBT(NBTTagCompound tag);
|
|
|
|
|
|
|
|
public abstract AlchemyArrayEffect getNewCopy();
|
2016-06-28 13:35:42 -04:00
|
|
|
|
2016-06-29 07:43:04 -04:00
|
|
|
public void onEntityCollidedWithBlock(IAlchemyArray array, World world, BlockPos pos, IBlockState state, Entity entity)
|
2016-06-28 13:35:42 -04:00
|
|
|
{
|
|
|
|
|
|
|
|
}
|
2015-12-23 18:45:47 -05:00
|
|
|
}
|