Class ClientActiveConfig
java.lang.Object
com.hammy275.immersivemc.common.config.ActiveConfig
com.hammy275.immersivemc.common.config.ClientActiveConfig
- All Implemented Interfaces:
Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanbooleanintstatic final Stringintintintintbooleanstatic final ClientActiveConfigstatic final ClientActiveConfigbooleanbooleanbooleanbooleandoubledoubleintbooleanbooleanbooleanbooleanbooleanfloatbooleanbooleanFields inherited from class com.hammy275.immersivemc.common.config.ActiveConfig
allowPetting, allowPettingAnythingLiving, allowThrowingBeyondVanillaMaxRange, COMMON_CONFIG_VERSION, commonConfigVersion, fields, fieldsHash, FILE_CLIENT, FILE_SERVER, FROM_SERVER, GSON, GSON_NETWORK, GSON_PRETTY, rangedGrabRange, useAnvilImmersive, useApotheosisEnchantmentTableImmersive, useApotheosisSalvagingTableImmersive, useArmorImmersive, useBagImmersive, useBarrelImmersive, useBeaconImmersive, useBrewingStandImmersive, useBucketAndBottleImmersive, useButtonImmersive, useCampfireImmersive, useCauldronImmersive, useChestImmersive, useChiseledBookshelfImmersive, useCraftingTableImmersive, useDoorImmersive, useEnchantingTableImmersive, useFeedingAnimalsImmersive, useFurnaceImmersive, useGrindstoneImmersive, useHopperImmersive, useIronFurnacesFurnaceImmersive, useJukeboxImmersive, useLecternImmersive, useLeverImmersive, useRangedGrabImmersive, useRepeaterImmersive, useShieldImmersive, useShulkerImmersive, useSmithingTableImmersive, useThrowingImmersive, useTinkersConstructCraftingStationImmersive, useTrapdoorImmersive, useWrittenBookImmersive -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSets this config to its disabled form.voidModifies the config to ensure all values are within valid ranges.Methods inherited from class com.hammy275.immersivemc.common.config.ActiveConfig
active, activeRaw, clone, createDefaultConfigFilesIfNotFound, decode, defaultIfNull, encode, firstEnumIfNull, getActiveConfigCommon, getConfigForPlayer, getFileConfig, loadActive, loadDisabled, loadFilesToMemory, mergeWithServer, readConfigFile, registerPlayerConfig, remergeAllConfigs, writeConfigFile
-
Field Details
-
DISABLED
-
DEFAULT
-
crouchMode
-
doVRControllerRumble
public boolean doVRControllerRumble -
returnItemsWhenLeavingImmersives
public boolean returnItemsWhenLeavingImmersives -
disableImmersiveMCOutsideVR
public boolean disableImmersiveMCOutsideVR -
bagColor
public int bagColor -
rightClickChestInteractions
public boolean rightClickChestInteractions -
autoCenterFurnaceImmersive
public boolean autoCenterFurnaceImmersive -
autoCenterBrewingStandImmersive
public boolean autoCenterBrewingStandImmersive -
bagMode
-
placementGuideMode
-
spinSomeImmersiveOutputs
public boolean spinSomeImmersiveOutputs -
rightClickImmersiveInteractionsInVR
public boolean rightClickImmersiveInteractionsInVR -
compatFor3dResourcePacks
public boolean compatFor3dResourcePacks -
itemGuideSize
public double itemGuideSize -
itemGuideSelectedSize
public double itemGuideSelectedSize -
itemGuidePreset
-
itemGuidePrideFlag
-
colorPresetAlpha
public transient int colorPresetAlpha -
colorPresetSelectedAlpha
public transient int colorPresetSelectedAlpha -
colorPresetRangedGrabSize
public transient int colorPresetRangedGrabSize -
multiColorPresetTransitionTimeMS
public transient int multiColorPresetTransitionTimeMS -
itemGuideCustomColorData
-
disableVanillaInteractionsForSupportedImmersives
public boolean disableVanillaInteractionsForSupportedImmersives -
reachBehindBagMode
-
textScale
public float textScale -
swapBagHand
public boolean swapBagHand -
useGrabBeaconInVR
public boolean useGrabBeaconInVR -
useGrindMotionGrindstoneInVR
public boolean useGrindMotionGrindstoneInVR -
dontAutoStepOnImmersiveBlocksInVR
public boolean dontAutoStepOnImmersiveBlocksInVR -
clientConfigVersion
public int clientConfigVersion -
CLIENT_CONFIG_VERSION
- See Also:
-
-
Constructor Details
-
ClientActiveConfig
public ClientActiveConfig()
-
-
Method Details
-
validateConfig
public void validateConfig()Description copied from class:ActiveConfigModifies the config to ensure all values are within valid ranges.- Overrides:
validateConfigin classActiveConfig
-
setDisabled
public void setDisabled()Description copied from class:ActiveConfigSets this config to its disabled form.- Overrides:
setDisabledin classActiveConfig
-