Worked on the Alchemy Table - final push for -35
This commit is contained in:
parent
bc7760b11b
commit
7116e3775e
9 changed files with 268 additions and 43 deletions
|
@ -12,6 +12,10 @@ import WayofTime.bloodmagic.api.Constants;
|
|||
@Getter
|
||||
public class TileAlchemyTable extends TileInventory implements ISidedInventory, ITickable
|
||||
{
|
||||
public static final int orbSlot = 6;
|
||||
public static final int toolSlot = 7;
|
||||
public static final int outputSlot = 8;
|
||||
|
||||
public EnumFacing direction = EnumFacing.NORTH;
|
||||
public boolean isSlave = false;
|
||||
|
||||
|
@ -19,7 +23,7 @@ public class TileAlchemyTable extends TileInventory implements ISidedInventory,
|
|||
|
||||
public TileAlchemyTable()
|
||||
{
|
||||
super(1, "alchemyTable");
|
||||
super(9, "alchemyTable");
|
||||
}
|
||||
|
||||
public void setInitialTableParameters(EnumFacing direction, boolean isSlave, BlockPos connectedPos)
|
||||
|
@ -55,9 +59,9 @@ public class TileAlchemyTable extends TileInventory implements ISidedInventory,
|
|||
|
||||
tag.setBoolean("isSlave", isSlave);
|
||||
tag.setInteger(Constants.NBT.DIRECTION, direction.getIndex());
|
||||
tag.setInteger(Constants.NBT.X_COORD, pos.getX());
|
||||
tag.setInteger(Constants.NBT.Y_COORD, pos.getY());
|
||||
tag.setInteger(Constants.NBT.Z_COORD, pos.getZ());
|
||||
tag.setInteger(Constants.NBT.X_COORD, connectedPos.getX());
|
||||
tag.setInteger(Constants.NBT.Y_COORD, connectedPos.getY());
|
||||
tag.setInteger(Constants.NBT.Z_COORD, connectedPos.getZ());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue