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 colorsfloatcalculateCelestialAngle(long var1, float var3)+ Calculates the angle of sun and moon in the sky relative to a specified time (usually worldTime)booleancanCoordinateBeSpawn(int i, int j)+ Will check if the x, z position specified is alright to be set as the map spawn pointbooleancanRespawnHere()+ True if the player can respawn in this dimension (true = overworld, false = nether).booleandoesXZShowFog(int var1, int var2)+ Returns true if the given X,Z coordinate should show environmental fog.intgetAverageGroundLevel()floatgetCloudHeight()+ the y level at which clouds are rendered.java.lang.StringgetDimensionName()+ Returns the dimension's name, e.g.Vec3getFogColor(float f, float var2)+ Return Vec3D with biome specific fog colorjava.lang.StringgetInternalNameSuffix()BlockPosgetSpawnCoordinate()booleanisSkyColored()booleanisSurfaceWorld()+ Returns 'true' if in the "main surface world", but 'false' if in the Nether or End dimensions.voidregisterWorldChunkManager()+ 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:
registerWorldChunkManagerin 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:
calculateCelestialAnglein classWorldProvider
-
calcSunriseSunsetColors
public float[] calcSunriseSunsetColors(float var1, float var2)+ Returns array with sunrise/sunset colors- Overrides:
calcSunriseSunsetColorsin classWorldProvider
-
getFogColor
public Vec3 getFogColor(float f, float var2)
+ Return Vec3D with biome specific fog color- Overrides:
getFogColorin classWorldProvider
-
isSkyColored
public boolean isSkyColored()
- Overrides:
isSkyColoredin classWorldProvider
-
canRespawnHere
public boolean canRespawnHere()
+ True if the player can respawn in this dimension (true = overworld, false = nether).- Overrides:
canRespawnHerein classWorldProvider
-
isSurfaceWorld
public boolean isSurfaceWorld()
+ Returns 'true' if in the "main surface world", but 'false' if in the Nether or End dimensions.- Overrides:
isSurfaceWorldin classWorldProvider
-
getCloudHeight
public float getCloudHeight()
+ the y level at which clouds are rendered.- Overrides:
getCloudHeightin 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:
canCoordinateBeSpawnin classWorldProvider
-
getSpawnCoordinate
public BlockPos getSpawnCoordinate()
- Overrides:
getSpawnCoordinatein classWorldProvider
-
getAverageGroundLevel
public int getAverageGroundLevel()
- Overrides:
getAverageGroundLevelin classWorldProvider
-
doesXZShowFog
public boolean doesXZShowFog(int var1, int var2)+ Returns true if the given X,Z coordinate should show environmental fog.- Overrides:
doesXZShowFogin classWorldProvider
-
getDimensionName
public java.lang.String getDimensionName()
+ Returns the dimension's name, e.g. "The End", "Nether", or "Overworld".- Specified by:
getDimensionNamein classWorldProvider
-
getInternalNameSuffix
public java.lang.String getInternalNameSuffix()
- Specified by:
getInternalNameSuffixin classWorldProvider
-
-