(Collection<TileEntity> tileEntityCollection)
| 1818 | } |
| 1819 | |
| 1820 | public void addTileEntities(Collection<TileEntity> tileEntityCollection) |
| 1821 | { |
| 1822 | if (this.processingLoadedTiles) |
| 1823 | { |
| 1824 | this.addedTileEntityList.addAll(tileEntityCollection); |
| 1825 | } |
| 1826 | else |
| 1827 | { |
| 1828 | for (TileEntity tileentity : tileEntityCollection) |
| 1829 | { |
| 1830 | this.loadedTileEntityList.add(tileentity); |
| 1831 | |
| 1832 | if (tileentity instanceof ITickable) |
| 1833 | { |
| 1834 | this.tickableTileEntities.add(tileentity); |
| 1835 | } |
| 1836 | } |
| 1837 | } |
| 1838 | } |
| 1839 | |
| 1840 | /** |
| 1841 | * Will update the entity in the world if the chunk the entity is in is currently loaded. Args: entity |
no test coverage detected