getTileEntity

@Nullable
abstract fun getTileEntity(@NotNull location: @NotNull Location): @Nullable TileEntity

Gets the TileEntity at that Location or null if there isn't one.

Return

The TileEntity at that Location or null if there isn't one.