Huge commit for the Pull-Request.
Added a lot of things: - Blood Tank - Teleposition Sigil - Transposition Sigil - Cobblestone/Netherrack/Obisidian generation Ritual - Tree Cutter Ritual - Pump Ritual - Altar Builder Ritual - Block Placing Ritual - Portal Ritual - Teleportation System and API Components - Cross pattern Area Descriptor - Two reagents and their textures for the sigils’ crafting Fixed: - Teleposer not teleporting entities correctly And probably other things I forgot!
This commit is contained in:
parent
d947f23696
commit
7e8aec8652
53 changed files with 3031 additions and 372 deletions
|
@ -0,0 +1,53 @@
|
|||
package WayofTime.bloodmagic.tile;
|
||||
|
||||
import WayofTime.bloodmagic.ritual.RitualPortal;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.BlockPos;
|
||||
|
||||
public class TileDimensionalPortal extends TileEntity
|
||||
{
|
||||
public String portalID;
|
||||
public int masterStoneX;
|
||||
public int masterStoneY;
|
||||
public int masterStoneZ;
|
||||
|
||||
public TileDimensionalPortal()
|
||||
{
|
||||
;
|
||||
}
|
||||
|
||||
public void readFromNBT(NBTTagCompound tagCompound)
|
||||
{
|
||||
super.readFromNBT(tagCompound);
|
||||
|
||||
portalID = tagCompound.getString(RitualPortal.PORTAL_ID_TAG);
|
||||
|
||||
masterStoneX = tagCompound.getInteger("masterStoneX");
|
||||
masterStoneY = tagCompound.getInteger("masterStoneY");
|
||||
masterStoneZ = tagCompound.getInteger("masterStoneZ");
|
||||
}
|
||||
|
||||
public void writeToNBT(NBTTagCompound tagCompound)
|
||||
{
|
||||
super.writeToNBT(tagCompound);
|
||||
|
||||
tagCompound.setString(RitualPortal.PORTAL_ID_TAG, portalID);
|
||||
|
||||
tagCompound.setInteger("masterStoneX", masterStoneX);
|
||||
tagCompound.setInteger("masterStoneY", masterStoneY);
|
||||
tagCompound.setInteger("masterStoneZ", masterStoneZ);
|
||||
}
|
||||
|
||||
public BlockPos getMasterStonePos()
|
||||
{
|
||||
return new BlockPos(masterStoneX, masterStoneY, masterStoneZ);
|
||||
}
|
||||
|
||||
public void setMasterStonePos(BlockPos blockPos)
|
||||
{
|
||||
this.masterStoneX = blockPos.getX();
|
||||
this.masterStoneY = blockPos.getY();
|
||||
this.masterStoneZ = blockPos.getZ();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue