mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-01 04:32:11 -07:00
[ci skip] Fix getTemperature javadocs (#11967)
In 1.15 spigot changed the behavior of all temperature methods to always return height adjusted temperature. Correctly reflect this in the javadocs.
This commit is contained in:
@@ -2593,9 +2593,6 @@ public interface World extends RegionAccessor, WorldInfo, PluginMessageRecipient
|
||||
* <p>
|
||||
* It is safe to run this method when the block does not exist, it will
|
||||
* not create the block.
|
||||
* <p>
|
||||
* This method will return the raw temperature without adjusting for block
|
||||
* height effects.
|
||||
*
|
||||
* @param x X coordinate of the block
|
||||
* @param z Z coordinate of the block
|
||||
@@ -2610,9 +2607,6 @@ public interface World extends RegionAccessor, WorldInfo, PluginMessageRecipient
|
||||
* <p>
|
||||
* It is safe to run this method when the block does not exist, it will
|
||||
* not create the block.
|
||||
* <p>
|
||||
* This method will return the raw temperature without adjusting for block
|
||||
* height effects.
|
||||
*
|
||||
* @param x X coordinate of the block
|
||||
* @param y Y coordinate of the block
|
||||
|
@@ -509,9 +509,6 @@ public interface Block extends Metadatable, Translatable, net.kyori.adventure.tr
|
||||
|
||||
/**
|
||||
* Gets the temperature of this block.
|
||||
* <p>
|
||||
* If the raw biome temperature without adjusting for height effects is
|
||||
* required then please use {@link World#getTemperature(int, int, int)}.
|
||||
*
|
||||
* @return Temperature of this block
|
||||
*/
|
||||
|
Reference in New Issue
Block a user