public class BCLibConfig
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BCLibConfig.ChunkLoaderLevel |
static class |
BCLibConfig.ChunkLoaderType |
static class |
BCLibConfig.RenderRotation |
static class |
BCLibConfig.TimeGap |
Modifier and Type | Field and Description |
---|---|
static BCLibConfig.ChunkLoaderLevel |
chunkLoadingLevel |
static BCLibConfig.ChunkLoaderType |
chunkLoadingType |
static boolean |
colourBlindMode
If true then applicable visual elements will be displayed in more colourblind friendly way.
|
static java.util.List<java.lang.Runnable> |
configChangeListeners |
static BCLibConfig.TimeGap |
displayTimeGap |
static java.io.File |
guiConfigFile |
static int |
itemLifespan
The lifespan (in seconds) that spawned items will have, when dropped by a quarry or builder (etc)
|
static BCLibConfig.RenderRotation |
rotateTravelingItems
If true then ItemRenderUtil.renderItemStack will use the facing parameter to rotate the item
|
static boolean |
useBucketsFlow
If true then fluidstacks will localize with something similar to "4B/s" rather than "4000mB/t" when calling
LocaleUtil.localizeFluidFlow(int) |
static boolean |
useBucketsStatic
If true then fluidstacks will localize with something similar to "4B Water" rather than "4000mB of Water" when
calling
LocaleUtil.localizeFluidStaticAmount(int) |
static boolean |
useColouredLabels
If true then items and blocks will display the colour of an item (one of
EnumDyeColor ) with the correct
TextFormatting colour value.This changes the behaviour of ColourUtil.convertColourToTextFormat(EnumDyeColor) . |
static boolean |
useHighContrastLabelColours
If this and
useColouredLabels is true then only colours which strongly contrast with the base colour
will be used. |
static boolean |
useLongLocalizedName
If true then fluidstacks and Mj will be localized with longer names (for example "1.2 Buckets per second" rather
than "60mB/t")
|
static boolean |
useSwappableSprites
If true then
AtlasSpriteVariants.createForConfig(net.minecraft.util.ResourceLocation) will retun
AtlasSpriteSwappable , allowing for instant reloads when switching between colourblind modes and other
changable things. |
Constructor and Description |
---|
BCLibConfig() |
Modifier and Type | Method and Description |
---|---|
static void |
refreshConfigs()
Resets cached values across various BCLib classes that rely on these config options.
|
public static java.io.File guiConfigFile
public static boolean useColouredLabels
EnumDyeColor
) with the correct
TextFormatting
colour value.ColourUtil.convertColourToTextFormat(EnumDyeColor)
.public static boolean useHighContrastLabelColours
useColouredLabels
is true then only colours which strongly contrast with the base colour
will be used. Useful if you can't read dark-gray on black (for example)public static boolean colourBlindMode
public static int itemLifespan
public static boolean useBucketsStatic
LocaleUtil.localizeFluidStaticAmount(int)
public static boolean useBucketsFlow
LocaleUtil.localizeFluidFlow(int)
public static boolean useLongLocalizedName
public static boolean useSwappableSprites
AtlasSpriteVariants.createForConfig(net.minecraft.util.ResourceLocation)
will retun
AtlasSpriteSwappable
, allowing for instant reloads when switching between colourblind modes and other
changable things. If false it will return a normal TextureAtlasSprite
. Disabling this might help if you
get sprite issues with mods like optifine.public static BCLibConfig.TimeGap displayTimeGap
public static BCLibConfig.RenderRotation rotateTravelingItems
public static BCLibConfig.ChunkLoaderType chunkLoadingType
public static BCLibConfig.ChunkLoaderLevel chunkLoadingLevel
public static final java.util.List<java.lang.Runnable> configChangeListeners