/** * Called from Minecraft's tile entity loop, after all tile entities have been ticked, as the * chunk in which this tile entity is contained is unloading. Happens before the Forge TickEnd * event. * * @see net.minecraft.tileentity.TileEntity#onChunkUnload() */ @Override public void onChunkUnload() { super.onChunkUnload(); detachSelf(true); }