1.16 port

This commit is contained in:
yueh
2020-07-22 16:44:42 +02:00
parent 662dbca3e1
commit 56ecda5173
225 changed files with 1214 additions and 969 deletions
@@ -18,6 +18,7 @@
package appeng.tile.networking;
import net.minecraft.block.BlockState;
import net.minecraft.nbt.CompoundNBT;
import net.minecraft.tileentity.TileEntityType;
@@ -99,8 +100,8 @@ public class EnergyCellTileEntity extends AENetworkTileEntity implements IAEPowe
}
@Override
public void read(final CompoundNBT data) {
super.read(data);
public void read(BlockState blockState, final CompoundNBT data) {
super.read(blockState, data);
this.internalCurrentPower = data.getDouble("internalCurrentPower");
}