Added rudimentary saving for rituals
This commit is contained in:
parent
3edfc3a8ac
commit
c26b7851a8
3 changed files with 26 additions and 0 deletions
|
@ -10,6 +10,7 @@ import lombok.RequiredArgsConstructor;
|
|||
import lombok.ToString;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.util.BlockPos;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
|
@ -45,6 +46,16 @@ public abstract class Ritual
|
|||
this(name, crystalLevel, activationCost, null, unlocalizedName);
|
||||
}
|
||||
|
||||
public void readFromNBT(NBTTagCompound tag)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void writeToNBT(NBTTagCompound tag)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Called when the player attempts to activate the ritual.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue