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 floatcalculateCelestialAngle(long var1, float var3)+ Calculates the angle of sun and moon in the sky relative to a specified time (usually worldTime)booleancanCoordinateBeSpawn(int var1, int var2)+ 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.protected voidgenerateLightBrightnessTable()+ Creates the light to brightness tablejava.lang.StringgetDimensionName()+ Returns the dimension's name, e.g.Vec3getFogColor(float var1, float var2)+ Return Vec3D with biome specific fog colorjava.lang.StringgetInternalNameSuffix()WorldBordergetWorldBorder()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
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:
registerWorldChunkManagerin classWorldProvider
-
getFogColor
public Vec3 getFogColor(float var1, float var2)
+ Return Vec3D with biome specific fog color- Overrides:
getFogColorin classWorldProvider
-
generateLightBrightnessTable
protected void generateLightBrightnessTable()
+ Creates the light to brightness table- Overrides:
generateLightBrightnessTablein 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
-
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:
canCoordinateBeSpawnin 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
-
canRespawnHere
public boolean canRespawnHere()
+ True if the player can respawn in this dimension (true = overworld, false = nether).- Overrides:
canRespawnHerein 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
-
getWorldBorder
public WorldBorder getWorldBorder()
- Overrides:
getWorldBorderin classWorldProvider
-
-