getTileEntities

@NotNull
abstract fun getTileEntities(@NotNull chunk: @NotNull Chunk): @NotNull List<@NotNull TileEntity>

Gets all loaded TileEntities in the specified Chunk.

Return

All loaded TileEntities in the specified Chunk.

Parameters

chunk

The Chunk to get the TileEntities from.


@NotNull
abstract fun getTileEntities(@NotNull world: @NotNull World): @NotNull List<@NotNull TileEntity>

Gets all loaded TileEntities in the specified World.

Return

All loaded TileEntities in the specified World.

Parameters

world

The World to get the TileEntities from.


@NotNull
abstract fun getTileEntities(): @NotNull List<@NotNull TileEntity>

Gets all loaded TileEntities.

Return

All loaded TileEntities.