getTemperature

public abstract double getTemperature(int x, int z)

Gets the temperature for the given block coordinates.

It is safe to run this method when the block does not exist, it will not create the block.

Return

Temperature of the requested block

Parameters

x

X coordinate of the block

z

Z coordinate of the block