Sweeping changes, mainly NBT related

This commit is contained in:
Nicholas Ignoffo 2019-09-23 09:51:22 -07:00
parent 4035d91151
commit c8996c8fba
157 changed files with 622 additions and 623 deletions

View file

@ -18,12 +18,12 @@ public class TilePhantomBlock extends TileTicking {
@Override
public void deserialize(CompoundNBT tagCompound) {
this.ticksRemaining = tagCompound.getInteger(Constants.NBT.TICKS_REMAINING);
this.ticksRemaining = tagCompound.getInt(Constants.NBT.TICKS_REMAINING);
}
@Override
public CompoundNBT serialize(CompoundNBT tagCompound) {
tagCompound.setInteger(Constants.NBT.TICKS_REMAINING, ticksRemaining);
tagCompound.putInt(Constants.NBT.TICKS_REMAINING, ticksRemaining);
return tagCompound;
}