Package net.minecraft.world
Class WorldProviderEnd
- java.lang.Object
-
- net.minecraft.world.WorldProvider
-
- net.minecraft.world.WorldProviderEnd
-
public class WorldProviderEnd extends WorldProvider
+ This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Field Summary
-
Fields inherited from class net.minecraft.world.WorldProvider
dimensionId, hasNoSky, isHellWorld, lightBrightnessTable, moonPhaseFactors, worldObj
-
-
Constructor Summary
Constructors Constructor Description WorldProviderEnd()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float[]
calcSunriseSunsetColors(float var1, float var2)
+ Returns array with sunrise/sunset colorsfloat
calculateCelestialAngle(long var1, float var3)
+ Calculates the angle of sun and moon in the sky relative to a specified time (usually worldTime)boolean
canCoordinateBeSpawn(int i, int j)
+ Will check if the x, z position specified is alright to be set as the map spawn pointboolean
canRespawnHere()
+ True if the player can respawn in this dimension (true = overworld, false = nether).boolean
doesXZShowFog(int var1, int var2)
+ Returns true if the given X,Z coordinate should show environmental fog.int
getAverageGroundLevel()
float
getCloudHeight()
+ the y level at which clouds are rendered.java.lang.String
getDimensionName()
+ Returns the dimension's name, e.g.Vec3
getFogColor(float f, float var2)
+ Return Vec3D with biome specific fog colorjava.lang.String
getInternalNameSuffix()
BlockPos
getSpawnCoordinate()
boolean
isSkyColored()
boolean
isSurfaceWorld()
+ Returns 'true' if in the "main surface world", but 'false' if in the Nether or End dimensions.void
registerWorldChunkManager()
+ creates a new world chunk manager for WorldProvider-
Methods inherited from class net.minecraft.world.WorldProvider
doesWaterVaporize, generateLightBrightnessTable, getDimensionId, getHasNoSky, getLightBrightnessTable, getMoonPhase, getProviderForDimension, getVoidFogYFactor, getWorldBorder, registerWorld
-
-
-
-
Method Detail
-
registerWorldChunkManager
public void registerWorldChunkManager()
+ creates a new world chunk manager for WorldProvider- Overrides:
registerWorldChunkManager
in classWorldProvider
-
calculateCelestialAngle
public float calculateCelestialAngle(long var1, float var3)
+ Calculates the angle of sun and moon in the sky relative to a specified time (usually worldTime)- Overrides:
calculateCelestialAngle
in classWorldProvider
-
calcSunriseSunsetColors
public float[] calcSunriseSunsetColors(float var1, float var2)
+ Returns array with sunrise/sunset colors- Overrides:
calcSunriseSunsetColors
in classWorldProvider
-
getFogColor
public Vec3 getFogColor(float f, float var2)
+ Return Vec3D with biome specific fog color- Overrides:
getFogColor
in classWorldProvider
-
isSkyColored
public boolean isSkyColored()
- Overrides:
isSkyColored
in classWorldProvider
-
canRespawnHere
public boolean canRespawnHere()
+ True if the player can respawn in this dimension (true = overworld, false = nether).- Overrides:
canRespawnHere
in classWorldProvider
-
isSurfaceWorld
public boolean isSurfaceWorld()
+ Returns 'true' if in the "main surface world", but 'false' if in the Nether or End dimensions.- Overrides:
isSurfaceWorld
in classWorldProvider
-
getCloudHeight
public float getCloudHeight()
+ the y level at which clouds are rendered.- Overrides:
getCloudHeight
in classWorldProvider
-
canCoordinateBeSpawn
public boolean canCoordinateBeSpawn(int i, int j)
+ Will check if the x, z position specified is alright to be set as the map spawn point- Overrides:
canCoordinateBeSpawn
in classWorldProvider
-
getSpawnCoordinate
public BlockPos getSpawnCoordinate()
- Overrides:
getSpawnCoordinate
in classWorldProvider
-
getAverageGroundLevel
public int getAverageGroundLevel()
- Overrides:
getAverageGroundLevel
in classWorldProvider
-
doesXZShowFog
public boolean doesXZShowFog(int var1, int var2)
+ Returns true if the given X,Z coordinate should show environmental fog.- Overrides:
doesXZShowFog
in classWorldProvider
-
getDimensionName
public java.lang.String getDimensionName()
+ Returns the dimension's name, e.g. "The End", "Nether", or "Overworld".- Specified by:
getDimensionName
in classWorldProvider
-
getInternalNameSuffix
public java.lang.String getInternalNameSuffix()
- Specified by:
getInternalNameSuffix
in classWorldProvider
-
-