Update mappings + dependencies

This commit is contained in:
Nicholas Ignoffo 2019-01-31 19:10:37 -08:00
parent 1426e49164
commit 83f0eefa15
147 changed files with 224 additions and 223 deletions

View file

@ -81,7 +81,7 @@ public class TileAlchemyTable extends TileInventory implements ISidedInventory,
super.deserialize(tag);
isSlave = tag.getBoolean("isSlave");
direction = EnumFacing.getFront(tag.getInteger(Constants.NBT.DIRECTION));
direction = EnumFacing.byIndex(tag.getInteger(Constants.NBT.DIRECTION));
connectedPos = new BlockPos(tag.getInteger(Constants.NBT.X_COORD), tag.getInteger(Constants.NBT.Y_COORD), tag.getInteger(Constants.NBT.Z_COORD));
burnTime = tag.getInteger("burnTime");

View file

@ -173,7 +173,7 @@ public class TileDemonCrystal extends TileTicking
{
holder.readFromNBT(tag, "Will");
crystalCount = tag.getInteger("crystalCount");
placement = EnumFacing.getFront(tag.getInteger("placement"));
placement = EnumFacing.byIndex(tag.getInteger("placement"));
progressToNextCrystal = tag.getDouble("progress");
}

View file

@ -80,7 +80,7 @@ public class TileMasterRitualStone extends TileTicking implements IMasterRitualS
currentRitual = BloodMagic.RITUAL_MANAGER.getRitual(tag.getString(Constants.NBT.CURRENT_RITUAL));
if (currentRitual != null) {
NBTTagCompound ritualTag = tag.getCompoundTag(Constants.NBT.CURRENT_RITUAL_TAG);
if (!ritualTag.hasNoTags()) {
if (!ritualTag.isEmpty()) {
currentRitual.readFromNBT(ritualTag);
}
}

View file

@ -30,7 +30,7 @@ public class TileRoutingNode extends TileInventory implements IRoutingNode, IIte
@Override
public void update() {
if (!getWorld().isRemote) {
currentInput = getWorld().isBlockIndirectlyGettingPowered(pos);
currentInput = getWorld().getRedstonePowerFromNeighbors(pos);
// currentInput = getWorld().getStrongPower(pos);
}
}