Add method comments
This commit is contained in:
@@ -16,12 +16,10 @@ import net.minecraft.client.Minecraft;
|
||||
*/
|
||||
public class OfConfig
|
||||
{
|
||||
|
||||
public Method fovMethod = null;
|
||||
public Field ofFogField = null;
|
||||
|
||||
|
||||
|
||||
public OfConfig()
|
||||
{
|
||||
setupFovMethod();
|
||||
@@ -98,6 +96,9 @@ public class OfConfig
|
||||
fovMethod.setAccessible(true);
|
||||
}
|
||||
|
||||
/**
|
||||
* Similar to setupFovMethod.
|
||||
*/
|
||||
private void setupFogField()
|
||||
{
|
||||
// get every variable from the entity renderer
|
||||
@@ -123,7 +124,9 @@ public class OfConfig
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Get what type of fog optifine is currently set to render.
|
||||
*/
|
||||
public FogQuality getFogType()
|
||||
{
|
||||
if (ofFogField == null)
|
||||
@@ -134,8 +137,6 @@ public class OfConfig
|
||||
return FogQuality.UNKNOWN;
|
||||
}
|
||||
|
||||
|
||||
|
||||
int returnNum = 0;
|
||||
|
||||
try
|
||||
@@ -164,6 +165,9 @@ public class OfConfig
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the FOV used by the EntityRender.
|
||||
*/
|
||||
public float getFov(Minecraft mc, float partialTicks, boolean useFovSetting)
|
||||
{
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user