Package net.minecraft.world
Class WorldProviderHell
- java.lang.Object
-
- net.minecraft.world.WorldProvider
-
- net.minecraft.world.WorldProviderHell
-
public class WorldProviderHell 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 WorldProviderHell()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
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 var1, int var2)
+ 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.protected void
generateLightBrightnessTable()
+ Creates the light to brightness tablejava.lang.String
getDimensionName()
+ Returns the dimension's name, e.g.Vec3
getFogColor(float var1, float var2)
+ Return Vec3D with biome specific fog colorjava.lang.String
getInternalNameSuffix()
WorldBorder
getWorldBorder()
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
calcSunriseSunsetColors, doesWaterVaporize, getAverageGroundLevel, getCloudHeight, getDimensionId, getHasNoSky, getLightBrightnessTable, getMoonPhase, getProviderForDimension, getSpawnCoordinate, getVoidFogYFactor, isSkyColored, registerWorld
-
-
-
-
Method Detail
-
registerWorldChunkManager
public void registerWorldChunkManager()
+ creates a new world chunk manager for WorldProvider- Overrides:
registerWorldChunkManager
in classWorldProvider
-
getFogColor
public Vec3 getFogColor(float var1, float var2)
+ Return Vec3D with biome specific fog color- Overrides:
getFogColor
in classWorldProvider
-
generateLightBrightnessTable
protected void generateLightBrightnessTable()
+ Creates the light to brightness table- Overrides:
generateLightBrightnessTable
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
-
canCoordinateBeSpawn
public boolean canCoordinateBeSpawn(int var1, int var2)
+ Will check if the x, z position specified is alright to be set as the map spawn point- Overrides:
canCoordinateBeSpawn
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
-
canRespawnHere
public boolean canRespawnHere()
+ True if the player can respawn in this dimension (true = overworld, false = nether).- Overrides:
canRespawnHere
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
-
getWorldBorder
public WorldBorder getWorldBorder()
- Overrides:
getWorldBorder
in classWorldProvider
-
-