use of forestry.api.core.ICamouflagedTile in project ForestryMC by ForestryMC.
the class GreenhouseController method onMachineDisassembled.
@Override
protected void onMachineDisassembled() {
super.onMachineDisassembled();
provider.clear(false);
provider.getStorage().removeProviderFromChunks();
this.centerPos = BlockPos.ORIGIN;
for (IMultiblockComponent comp : connectedParts) {
if (comp instanceof ICamouflagedTile) {
world.markBlockRangeForRenderUpdate(comp.getCoordinates(), comp.getCoordinates());
}
}
limits = null;
}
Aggregations