Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
Disable hardcore darkness
Post Flair (click to view more posts with a particular flair)
Post Body

So I was looking at the file and I can't figure out where I would need to put the 0 to disable it. Does anyone know? figured out how to open it to a readable file just need to know where to alter it?

package lumien.hardcoredarkness.config;

import java.util.Arrays;

import java.util.HashSet;

public class HardcoreDarknessConfig

{

int mode;

boolean darkNether;

boolean darkEnd;

boolean alternativeNightSkylight;

HashSet<Integer> dimensionBlacklist;

float[] moonLightList = new float[5];

float gammaOverride = -1.0F;

public HardcoreDarknessConfig()

{

this.dimensionBlacklist = new HashSet();

this.moonLightList[0] = 1.0F;

this.moonLightList[1] = 0.925F;

this.moonLightList[2] = 0.85F;

this.moonLightList[3] = 0.775F;

this.moonLightList[4] = 0.7F;

}

public void addDimensionToBlacklist(int dimension)

{

this.dimensionBlacklist.add(Integer.valueOf(dimension));

}

public boolean isDimensionBlacklisted(int dimension)

{

return this.dimensionBlacklist.contains(Integer.valueOf(dimension));

}

public HashSet<Integer> getDimensionBlackList()

{

return this.dimensionBlacklist;

}

public void setMode(int newMode)

{

this.mode = newMode;

}

public void setDarkNether(boolean darkNether)

{

this.darkNether = darkNether;

}

public void setDarkEnd(boolean darkEnd)

{

this.darkEnd = darkEnd;

}

public void setAlternativeNightSkylight(boolean alternativeNightSkylight)

{

this.alternativeNightSkylight = alternativeNightSkylight;

}

public int getMode()

{

return this.mode;

}

public boolean darkNether()

{

return this.darkNether;

}

public boolean darkEnd()

{

return this.darkEnd;

}

public boolean removeBlue()

{

return this.alternativeNightSkylight;

}

public String toString()

{

return "HardcoreDarknessConfig [mode=" this.mode ", darkNether=" this.darkNether ", darkEnd=" this.darkEnd ", alternativeNightSkylight=" this.alternativeNightSkylight ", dimensionBlacklist=" this.dimensionBlacklist ", moonLightList=" Arrays.toString(this.moonLightList) ", gammaOverride=" this.gammaOverride "]";

}

public float[] getMoonLightList()

{

return this.moonLightList;

}

public void setMoonLightList(float[] newList)

{

this.moonLightList = newList;

}

public float getGammaOverride()

{

return this.gammaOverride;

}

public void setGammaOverride(float gammaOverride)

{

this.gammaOverride = gammaOverride;

}

}

Author
Account Strength
80%
Account Age
10 years
Verified Email
Yes
Verified Flair
No
Total Karma
56
Link Karma
51
Comment Karma
5
Profile updated: 20 hours ago
Posts updated: 5 days ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
3 years ago