mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-26 04:59:23 +01:00
Only Ores NBT
This commit is contained in:
parent
508b488405
commit
0280dc53a8
1 changed files with 2 additions and 0 deletions
|
@ -119,6 +119,7 @@ public class TileEntityMiner extends TileEntityBase implements IEnergyReceiver{
|
|||
super.writeSyncableNBT(compound, sync);
|
||||
this.storage.writeToNBT(compound);
|
||||
compound.setInteger("Layer", this.layerAt);
|
||||
compound.setBoolean("OnlyOres", this.onlyMineOres);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -126,6 +127,7 @@ public class TileEntityMiner extends TileEntityBase implements IEnergyReceiver{
|
|||
super.readSyncableNBT(compound, sync);
|
||||
this.storage.readFromNBT(compound);
|
||||
this.layerAt = compound.getInteger("Layer");
|
||||
this.onlyMineOres = compound.getBoolean("OnlyOres");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue