Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-20 21:40:06 +01:00
Re-implement World.getTemperature and World.getHumidity
Dieser Commit ist enthalten in:
Ursprung
d484956c10
Commit
0f984dd9a5
@ -523,11 +523,11 @@ public class CraftWorld implements World {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public double getTemperature(int x, int z) {
|
public double getTemperature(int x, int z) {
|
||||||
throw new UnsupportedOperationException("Not compatible with 1.8");
|
return this.world.getBiome(x, z).F;
|
||||||
}
|
}
|
||||||
|
|
||||||
public double getHumidity(int x, int z) {
|
public double getHumidity(int x, int z) {
|
||||||
throw new UnsupportedOperationException("Not compatible with 1.8");
|
return this.world.getBiome(x, z).G;
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<Entity> getEntities() {
|
public List<Entity> getEntities() {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren