Sponsor
I've partnered with Apex Hosting! In my experience, their servers are lag-free, easy to manage, and of high quality. Check them out here:
RandomConfigs is a utility mod that allows you to set default configurations, gamerules, difficulties, world borders. When installed on the client, it is completely compatible with vanilla servers, and when installed on a server, it is completely compatible with vanilla clients. This also means that the client can connect with a different version of the mod to the one on the server.
The 1.13 Rift version requires Rift.
The 1.13.2 Rift version requires Chocohead's fork of Rift, which can be downloaded here.
The Fabric version can be found here.
Default configs
RandomConfigs reads an array of objects from config/randomconfigs/defaultconfigs.json, written in the following format:
[ { "source": String, "destination": String, "side": ConfigSide, "version": int } ]
"source" refers to any file in config/randomconfigs/defaultconfigs.
"destination" refers to any file within the Minecraft directory.
"side" can be one of "client", "server", and "both".
The file referred to by "source" is copied to "destination" if "destination" does not exist.
"version" is just any integer value. If "version" changes, the config is forcibly updated. This is useful if you have already shipped a default config with your modpack and want to force a change.
RandomConfigs' default configs feature loads earlier than More Default Options' version, which means it is compatible with more mods. RandomConfigs also works server-side only.
Default gamerules
RandomConfigs can set default gamerules depending on game mode and world type. It can also set the default world border size and difficulty and forcibly set gamerules so they cannot be changed. Default gamerules are stored in config/randomconfigs/defaultgamerules.json and an example can be found here. It should be noted that on 1.16, only the "default" and "flat" world types are supported.
Attack speeds
RandomConfigs allows different attack speeds to be set for specific items. Additionally, attacks can be disabled during the attack cooldown. The attack speed configuration is stored in config/randomconfigs/attackspeeds.json and an example can be found here.
The attack speed controls the length of the cooldown time. The time taken is 1 / attack speed * 20 ticks. Tools have their own attack speed modifiers, which means that depending on the tool being held, the attack speed will differ. By default, the attack speed is 4.0, which means that an empty hand will take a quarter of a second to reach maximum damage. Swords take 2.4 from the attack speed, and axes take between 3 and 3.2 depending on the material. For example, if the attack speed for swords is set to below 2.4, the actual attack speed will be negative.
The attack speed configuration can be reloaded using the /asreload and /asreloadclient commands, although the /asreloadclient command does not exist on Rift or Forge 1.13. It also currently does not exist for Forge 1.14 and higher.
NOTE: RandomConfigs uses Jankson for JSON processing, which fixes quirks such as missing commas and omitted quotes.
is there any way i could copy 2 files to the root of a world's folder every time i made a new world using the source and destination options?
Unfortunately, no.
In reply to TheRandomLabs:
Ah, thanks for letting me know. This might be worth an addition, as Carpetmod, AllStackable, and probably several other mods use per-world configurations that are applied through individual files rather than datapacks.
Definitely, but I don't know when I'll find the time to do this. :p
Does this work fine with 1.16.4 :) ?
In reply to bluebird9281:
It should.
Hello,
Very often I configure my world/level.dat files using NBT, and I change files like day time, walk speed, and air to breathe longer; but these files are always reversed after each server reload/restart. Would this mod allow me to edit those files/ keep them unchanged?
In reply to sausagesageman:
No, but it's strange that the day time would be reversed, presuming you're modifying the NBT files when the server is not running.
In reply to TheRandomLabs:
Yeah well it is forge after all. The files shouldn't be reversed, but it always works if I apply changes before each start-up. Well thanks for responding.
I'm having a strange issue with the 1.12 version of the mod, when I change the attack speed for specific items past 28 my game crashes, the reason why I need so many is for a modpack.
Crash report
---- Minecraft Crash Report ----
// My bad.
Time: 2020-07-17 21:55:25 EDT
Description: Initializing game
net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from RandomConfigs (randomconfigs)
Caused by: net.minecraft.util.ReportedException: Failed to read JSON: C:\Users\Team 1\AppData\Roaming\.minecraft\config\randomconfigs\attackspeeds.json
at com.therandomlabs.randomconfigs.RandomConfigs.crashReport(RandomConfigs.java:227)
at com.therandomlabs.randomconfigs.RandomConfigs.readJson(RandomConfigs.java:179)
at com.therandomlabs.randomconfigs.attackspeeds.AttackSpeeds.reload(AttackSpeeds.java:104)
at com.therandomlabs.randomconfigs.RandomConfigs.init(RandomConfigs.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:637)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
at com.google.common.eventbus.EventBus.post(EventBus.java:217)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
at com.google.common.eventbus.EventBus.post(EventBus.java:217)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136)
at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:749)
at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:336)
at net.minecraft.client.Minecraft.init(Minecraft.java:535)
at net.minecraft.client.Minecraft.run(Minecraft.java:3931)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Caused by: com.therandomlabs.randomconfigs.repackage.blue.endless.jankson.impl.SyntaxError: Found spurious '{' while parsing an object.
at com.therandomlabs.randomconfigs.repackage.blue.endless.jankson.impl.ObjectParserContext.consume(ObjectParserContext.java:82)
at com.therandomlabs.randomconfigs.repackage.blue.endless.jankson.Jankson.processCodePoint(Jankson.java:214)
at com.therandomlabs.randomconfigs.repackage.blue.endless.jankson.Jankson.load(Jankson.java:172)
at com.therandomlabs.randomconfigs.repackage.blue.endless.jankson.Jankson.load(Jankson.java:61)
at com.therandomlabs.randomconfigs.RandomConfigs.readJson(RandomConfigs.java:174)
... 42 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Minecraft Version: 1.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 450904560 bytes (430 MB) / 1308622848 bytes (1248 MB) up to 3221225472 bytes (3072 MB)
JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx3G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.42 Powered by Forge 14.23.5.2847 Optifine OptiFine_1.12.2_HD_U_F5 47 mods loaded, 47 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
| State | ID | Version | Source | Signature |
|:----- |:------------------------------------ |:------------------------ |:------------------------------------------------- |:---------------------------------------- |
| LCHI | minecraft | 1.12.2 | minecraft.jar | None |
| LCHI | mcp | 9.42 | minecraft.jar | None |
| LCHI | FML | 8.0.99.99 | forge-1.12.2-14.23.5.2847.jar | None |
| LCHI | forge | 14.23.5.2847 | forge-1.12.2-14.23.5.2847.jar | None |
| LCHI | infinimend | 1.0.2 | minecraft.jar | None |
| LCHI | otgcore | 1.12.2 - v8.3 | minecraft.jar | None |
| LCHI | foamfixcore | 7.7.4 | minecraft.jar | None |
| LCHI | aether_legacy | 1.4.4 | aether_legacy-1.12.2-v1.4.4.jar | None |
| LCHI | aether_legacy_addon | 1.12.2-v1.2.3 | aether_continuation-1.12.2-v1.2.3.jar | None |
| LCHI | orbis-lib | 0.2.0 | orbis-lib-1.12.2-0.2.0+build411.jar | db341c083b1b8ce9160a769b569ef6737b3f4cdf |
| LCHI | aether | 0.3.0 | aether_ii-1.12.2-0.3.0+build411-universal.jar | db341c083b1b8ce9160a769b569ef6737b3f4cdf |
| LCHI | antighost | 1.1.1 | antighost-1.12-forge14.21.1.2387-1.1.1.jar | None |
| LCHI | anvilpatch | 1.0.0 | anvilpatch-1.0.0.jar | None |
| LCHI | jei | 4.15.0.293 | jei_1.12.2-4.15.0.293.jar | None |
| LCHI | appleskin | 1.0.9 | AppleSkin-mc1.12-1.0.9.jar | None |
| LCHI | bettercaves | 1.12.2 | bettercaves-1.12.2-2.0.2.jar | None |
| LCHI | biomesoplenty | 7.0.1.2441 | BiomesOPlenty-1.12.2-7.0.1.2441-universal (1).jar | None |
| LCHI | carryon | 1.12.3 | CarryOn+MC1.12.2+v1.12.3.jar | 55e88f24d04398481ae6f1ce76f65fd776f14227 |
| LCHI | compot | 1.1 | CombinedPotions-1.12-1.1.jar | None |
| LCHI | mantle | 1.12-1.3.3.55 | Mantle-1.12-1.3.3.55.jar | None |
| LCHI | twilightforest | 3.10.1013 | twilightforest-1.12.2-3.10.1013-universal.jar | None |
| LCHI | tconstruct | 1.12.2-2.13.0.183 | TConstruct-1.12.2-2.13.0.183.jar | None |
| LCHI | conarm | 1.2.5.9 | conarm-1.12.2-1.2.5.9.jar | 2484ef4d131fdc0dca0647aa21b7b944ddb935a1 |
| LCHI | cosmeticarmorreworked | 1.12.2-v3 | CosmeticArmorReworked-1.12.2-v3.jar | aaaf83332a11df02406e9f266b1b65c1306f0f76 |
| LCHI | cosmeticarmorreworked|tombmanygraves | 1.12.2-v3 | CosmeticArmorReworked-1.12.2-v3.jar | aaaf83332a11df02406e9f266b1b65c1306f0f76 |
| LCHI | customnpcs | 1.12 | CustomNPCs_1.12.2-(01Oct19).jar | None |
| LCHI | ding | 1.0.2 | Ding-1.12.2-1.0.2.jar | 4db5c2bd1b556f252a5b8b54b256d381b2a0a6b8 |
| LCHI | enchcontrol | 1.1.5 | enchcontrol-1.12.2-1.1.5-0.jar | 503a793335572ddd78512349bd8048f536a62fdb |
| LCHI | foamfix | 0.10.10-1.12.2 | foamfix-0.10.10-1.12.2.jar | None |
| LCHI | ftblib | 5.4.7.0 | FTBLib-5.4.7.0.jar | None |
| LCHI | ftbutilities | 5.4.0.124 | FTBUtilities-5.4.0.124.jar | None |
| LCHI | grimoireofgaia | 1.7.2 | GrimoireOfGaia3-1.12.2-1.7.2.jar | None |
| LCHI | journeymap | 1.12.2-5.7.1 | journeymap-1.12.2-5.7.1.jar | None |
| LCHI | lost_aether | 1.0.1 | lost-aether-content-1.12.2-1.0.1.jar | None |
| LCHI | guilib | $version | morepaintings-paintings-1.12.2-5.0.1.2.jar | None |
| LCHI | paintingselgui | $version | morepaintings-paintings-1.12.2-5.0.1.2.jar | None |
| LCHI | morepaintings | $version | morepaintings-paintings-1.12.2-5.0.1.2.jar | None |
| LCHE | randomconfigs | 1.12.2-1.3.2.3 | randomconfigs-1.12.2-1.3.2.3.jar | 20d08fb3fe9c268a63a75d337fb507464c8aaccd |
| LCH | stg | 1.12.2-1.2.3 | stg-1.12.2-1.2.3.jar | None |
| LCH | swordblockingcombat | 1.2.2 | SwordBlockingCombat-v1.2.2-1.12.2.jar | 12d137bcc36051a1c2c8ea7211cfc1da1c6e9dea |
| LCH | tinkersaether | 1.3.0 | tinkersaether-1.3.0.jar | None |
| LCH | tcomplement | 1.12.2-0.4.3 | TinkersComplement-1.12.2-0.4.3.jar | None |
| LCH | tinkertoolleveling | 1.12.2-1.1.0.DEV.b23e769 | TinkerToolLeveling-1.12.2-1.1.0.jar | None |
| LCH | toolbelt | 1.9.12 | ToolBelt-1.12.2-1.9.12.jar | None |
| LCH | vanillafix | 1.0.10-150 | VanillaFix-1.0.10-150.jar | None |
| LCH | worldedit | 6.1.10-SNAPSHOT | worldedit-forge-mc1.12.2-6.1.10-SNAPSHOT-dist.jar | None |
| LCH | phosphor-lighting | 1.12.2-0.2.6 | phosphor-1.12.2-0.2.6+build50.jar | f0387d288626cc2d937daa504e74af570c52a2f1 |
Loaded coremods (and transformers): VanillaFixLoadingPlugin (VanillaFix-1.0.10-150.jar)
PhosphorFMLLoadingPlugin (phosphor-1.12.2-0.2.6+build50.jar)
OTGCorePlugin (OTG-Core.jar)
com.pg85.otg.forge.asm.excluded.OTGClassTransformer
Do not report to Forge! (If you haven't disabled the FoamFix coremod, try disabling it in the config! Note that this bit of text will still appear.) (foamfix-0.10.10-1.12.2.jar)
pl.asie.foamfix.coremod.FoamFixTransformer
IMLoadingPlugin (infinimend-1.12-1.0.2.jar)
net.crazysnailboy.mods.infinimend.asm.IMClassTransformer
EC Core Plugin (enchcontrol-1.12.2-1.1.5-0.jar)
austeretony.enchcontrol.common.core.ECClassTransformer
GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 391.25' Renderer: 'GeForce GTX 550 Ti/PCIe/SSE2'
Pulsar/tconstruct loaded Pulses: - TinkerCommons (Enabled/Forced)
- TinkerWorld (Enabled/Not Forced)
- TinkerTools (Enabled/Not Forced)
- TinkerHarvestTools (Enabled/Forced)
- TinkerMeleeWeapons (Enabled/Forced)
- TinkerRangedWeapons (Enabled/Forced)
- TinkerModifiers (Enabled/Forced)
- TinkerSmeltery (Enabled/Not Forced)
- TinkerGadgets (Enabled/Not Forced)
- TinkerOredict (Enabled/Forced)
- TinkerIntegration (Enabled/Forced)
- TinkerFluids (Enabled/Forced)
- TinkerMaterials (Enabled/Forced)
- TinkerModelRegister (Enabled/Forced)
Pulsar/tcomplement loaded Pulses: - ModuleCommons (Enabled/Forced)
- ModuleMelter (Enabled/Not Forced)
- ModuleArmor (Enabled/Not Forced)
- ModuleSteelworks (Enabled/Not Forced)
- ToolLevelingPlugin (Enabled/Not Forced)
- Oredict (Enabled/Forced)
Suspected Mods: RandomConfigs (randomconfigs)
Launched Version: 1.12.2-forge1.12.2-14.23.5.2847
LWJGL: 2.9.4
OpenGL: GeForce GTX 550 Ti/PCIe/SSE2 GL version 4.6.0 NVIDIA 391.25, NVIDIA Corporation
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: §eOre Highlighter!
Current Language: English (US)
Profiler Position: N/A (disabled)
CPU: 8x Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
In reply to Thebluelanturn:
Can I see your JSON?
In reply to TheRandomLabs:
This is the one that works, but anything past this and I get a crash. Also thank you for the quick reply.
{{ "attackSpeeds": { "aether_legacy:notch_hammer": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether_legacy:lightning_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "twilightforest:ice_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "minecraft:iron_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether_legacy:holystone_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "minecraft:diamond_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether_legacy:flaming_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether:skyroot_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether:holystone_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "minecraft:golden_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "twilightforest:fiery_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "minecraft:wooden_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether_legacy:valkyrie_lance": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether_legacy:holy_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "twilightforest:glass_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether:gravitite_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "twilightforest:ironwood_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "minecraft:stone_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "twilightforest:steeleaf_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether_legacy:gravitite_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether_legacy:skyroot_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether_legacy:pig_slayer": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether:zanite_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "twilightforest:knightmetal_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether_legacy:candy_cane_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether_legacy:zanite_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "tconstruct:broadsword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether:arkenium_sword": { "speed": 8.0, "disableAttacksDuringAttackCooldown": false } }, "defaultAttackSpeed": 4.0, "disableAttacksDuringAttackCooldownByDefault": false, "asreloadCommand": true, "asreloadclientCommand": true, "enabled": true}
In reply to Thebluelanturn:
You have an extra curly bracket at the start. :)
In reply to TheRandomLabs:
That's weird, when I posted the file it created a bracket despite it not being there. I removed the very first bracket and it crashed so it's not that I didn't see it in the file.
{ "attackSpeeds": { "aether_legacy:notch_hammer": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether_legacy:lightning_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "twilightforest:ice_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "minecraft:iron_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether_legacy:holystone_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "minecraft:diamond_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether_legacy:flaming_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether:skyroot_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether:holystone_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "minecraft:golden_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "twilightforest:fiery_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "minecraft:wooden_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether_legacy:valkyrie_lance": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether_legacy:holy_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "twilightforest:glass_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether:gravitite_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "twilightforest:ironwood_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "minecraft:stone_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "twilightforest:steeleaf_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether_legacy:gravitite_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether_legacy:skyroot_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether_legacy:pig_slayer": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether:zanite_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "twilightforest:knightmetal_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether_legacy:candy_cane_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether_legacy:zanite_sword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "tconstruct:broadsword": { "speed": 20.0, "disableAttacksDuringAttackCooldown": false }, "aether:arkenium_sword": { "speed": 8.0, "disableAttacksDuringAttackCooldown": false } }, "defaultAttackSpeed": 4.0, "disableAttacksDuringAttackCooldownByDefault": false, "asreloadCommand": true, "asreloadclientCommand": true, "enabled": true}
In reply to Thebluelanturn:
Ok for whatever reason it works now? It probably was caused when I copped a line by mistake. Thanks for the help!
Does this mod have any redundancies with Default Options : https://www.curseforge.com/minecraft/mc-mods/default-options ?
And does any of them has something the other doesn't ?
- the default configs seem to be redundant but I'm unsure whether they have similarities/differences between them.
In reply to Forge_User_46019423:
RandomConfigs allows you to specify default config versions, default gamerules and attack speeds.
ok i just don't know what i am doing wrong here......
{
"survival": {
"DIFFICULTY": { "value": "hard", "forced": true },
"keepInventory": { "value": true, "forced": true }
}
}
that is in config/randomconfigs/defaultgamerules.json but difficulty does not stay at hard and keep inv is not on when starting a new survival world.
NVM i am an diot who forgot forge was updated and didnt check for the fabric tag on your newest upload...... just ignore me....
Ok so new problem........ lol guess this doesnt work with 1.14.3-pre2 or pre4 yet.... crashes on world load
---- Minecraft Crash Report -------- Minecraft Crash Report ----// Ouch. That hurt :(
Time: 6/20/19 7:38 AMDescription: Failed to set GameRules instance
java.lang.UnsupportedOperationException at com.google.common.collect.ImmutableMap.clear(ImmutableMap.java:620) at com.therandomlabs.randomconfigs.gamerules.RCGameRules.<init>(RCGameRules.java:22) at com.therandomlabs.randomconfigs.gamerules.DefaultGameRulesHandler.onInitialize(DefaultGameRulesHandler.java:50) at com.therandomlabs.randomconfigs.api.event.world.WorldInitializeCallback.lambda$null$0(WorldInitializeCallback.java:12) at net.minecraft.class_3218.handler$init$zjb000(class_3218.java:1390) at net.minecraft.class_3218.method_8414(class_3218.java) at net.minecraft.server.MinecraftServer.method_3786(MinecraftServer.java:388) at net.minecraft.class_1132.method_3735(class_1132.java:82) at net.minecraft.class_1132.method_3823(class_1132.java:104) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:604) at java.lang.Thread.run(Unknown Source)
A detailed walkthrough of the error, its code path and all known details is as follows:---------------------------------------------------------------------------------------
-- Head --Thread: Server threadStacktrace: at com.google.common.collect.ImmutableMap.clear(ImmutableMap.java:620) at com.therandomlabs.randomconfigs.gamerules.RCGameRules.<init>(RCGameRules.java:22) at com.therandomlabs.randomconfigs.gamerules.DefaultGameRulesHandler.onInitialize(DefaultGameRulesHandler.java:50) at com.therandomlabs.randomconfigs.api.event.world.WorldInitializeCallback.lambda$null$0(WorldInitializeCallback.java:12) at net.minecraft.class_3218.handler$init$zjb000(class_3218.java:1390) at net.minecraft.class_3218.method_8414(class_3218.java)
-- Affected level --Details: All players: 0 total; [] Chunk stats: ServerChunkCache: 0 Level dimension: minecraft:overworld Level name: A good day to die Level seed: -1200339999176900287 Level generator: ID 00 - default, ver 1. Features enabled: true Level generator options: {} Level spawn location: World: (0,0,0), Chunk: (at 0,0,0 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 0 game time, 0 day time Level storage version: 0x04ABD - Anvil Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: falseStacktrace: at net.minecraft.server.MinecraftServer.method_3786(MinecraftServer.java:388) at net.minecraft.class_1132.method_3735(class_1132.java:82) at net.minecraft.class_1132.method_3823(class_1132.java:104) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:604) at java.lang.Thread.run(Unknown Source)
-- System Details --Details: Minecraft Version: 1.14.3 Pre-Release 4 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_211, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 1059639744 bytes (1010 MB) / 1912602624 bytes (1824 MB) up to 3817865216 bytes (3641 MB) JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms512m -Xmx4096m Fabric Mods: alwaysdroploot: Always Drop Loot 3.5.0+mc1.14.1 anvil_fix: AnvilFix 1.1.2 appleskin: AppleSkin 1.0.6 autoconfig1: Auto Config v1 1.1.2+mc1.14.1 autofish: Autofish 0.8.4 betterutilities: Better Utilities 1.4.2 blue_endless_jankson: jankson 1.1.2 brighter: Brighter 1.0.0 cloth: Cloth Events 0.3.1+build.23 cloth-config: Cloth Config 0.2.4+build.17 cloth-config2: Cloth Config v2 0.1.0 composableautomation: Composable Automation 0.5.0+mc1.14.2 couplings: Couplings 1.0.0 craftingpad: Crafting Pad 1.0.3 crochet: Crochet 1.0.4 cursedchests: CursedChests 2.3.21 cye: Easier Enchanting 1.0.1 darkelevators: Elevators 1.1.3 dumpster: Dumpster 0.3.0 easierchests: EasierChests 1.14-fabric0.2.7-1.3.1 extra-pressure-plates: Extra Pressure Plates 1.1.2 fabric: Fabric API 0.3.0+build.181 fabric-api-base: fabric-api-base 0.1.0+59147463 fabric-commands-v0: fabric-commands-v0 0.1.1+25fd0c52 fabric-containers-v0: fabric-containers-v0 0.1.2+25fd0c52 fabric-content-registries-v0: fabric-content-registries-v0 0.1.1+45e1a1c8 fabric-crash-report-info-v1: fabric-crash-report-info-v1 0.1.0+59147463 fabric-events-interaction-v0: fabric-events-interaction-v0 0.1.0+59147463 fabric-events-lifecycle-v0: fabric-events-lifecycle-v0 0.1.0+59147463 fabric-furnaces: Fabric Furnaces 1.1.5 fabric-item-groups-v0: fabric-item-groups-v0 0.1.0+59147463 fabric-keybindings-v0: fabric-keybindings-v0 0.1.0+59147463 fabric-language-kotlin: Fabric Language Kotlin 1.3.31+build.4 fabric-mining-levels-v0: fabric-mining-levels-v0 0.1.0+59147463 fabric-models-v0: fabric-models-v0 0.1.0+59147463 fabric-networking: fabric-networking 0.1.0+93af775a fabric-networking-blockentity-v0: fabric-networking-blockentity-v0 0.1.1+25fd0c52 fabric-networking-v0: fabric-networking-v0 0.1.2+200eb5c2 fabric-object-builders-v0: fabric-object-builders-v0 0.1.1+9fe2f882 fabric-registry-sync-v0: fabric-registry-sync-v0 0.2.2+baba33ba fabric-renderer-api-v1: fabric-renderer-api-v1 0.1.0+02a46d5b fabric-renderer-indigo: fabric-renderer-indigo 0.1.6+22994119 fabric-rendering-data-attachment-v1: fabric-rendering-data-attachment-v1 0.1.0+02a46d5b fabric-rendering-fluids-v1: fabric-rendering-fluids-v1 0.1.0+dc4c57c2 fabric-rendering-v0: fabric-rendering-v0 0.1.0+59147463 fabric-resource-loader-v0: fabric-resource-loader-v0 0.1.1+59147463 fabric-tag-extensions-v0: fabric-tag-extensions-v0 0.1.0+59147463 fabric-textures-v0: fabric-textures-v0 0.1.4+792c1c35 fabricloader: Fabric Loader 0.4.8+build.155 fermion: Fermion 0.6.0+build.29 fishtraps: Fish Traps 1.14.2-0.1.0 gbfabrictools: GBfabrictools 1.0.1 harvest: Harvest 1.0.4 iamverysmart: I Am Very Smart 1.4.0+mc1.14.1 leveluphp: Level Up HP 4.3.0+mc1.14.2 libblockattributes: LibBlockAttributes 0.4.2 malilib: MaLiLib 0.9.6 mbackpacks: Mpcs' Backpacks 1.1.4 modid: Example Mod 1.0.0 modmenu: Mod Menu 1.6.2-92 moenchantments: Mo'Enchantments 1.5.8 nbtcrafting: NBT Crafting 1.2.0+1.14.3-pre2 nbttooltip: NBT Tooltip 1.14-1.0.3 org_jetbrains_annotations: annotations 16.0.3 org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 1.3.31 org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 1.3.31 org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 1.3.31 org_jetbrains_kotlinx_kotlinx-coroutines-core: kotlinx-coroutines-core 1.2.1 org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.2.1 quick_crops: Quick Crops 1.0.0 randomconfigs: RandomConfigs 1.14-1.3.3.0-Fabric realinfinity: Real Infinity 1.0.1 redstonebits: Redstone Bits 1.0.4+mc1.14.1 redstonetweaks: Redstone Tweaks 1.0.2 roughlyenoughitems: Roughly Enough Items 2.9.4+build.128 silkyspawners: Silky Spawners 1.0.2 simple_pipes: SimplePipeTest 0.1.5 simple_recipes: Simple Recipes 1.0.0 simpleteleporters: Simple Teleporters 2.1.0 smoothbedrock: Smooth Bedrock (Fabric) 1.1.3 soulshards: Soul Shards Respawn 1.0.8 superores: Super Ores 2.0.1 torcherino: Torcherino 1.8.50 trapexpansion: Trap Expansion 1.1.0 trees-do-not-float: Trees Do Not Float 1.1.1+build.23 tweakeroo: Tweakeroo 0.9.6 vanilla-hammers: Vanilla Hammers 1.4.1 voxelmap: VoxelMap 1.9.9 Player Count: 0 / 8; [] Data Packs: vanilla, fabric/vanilla-hammers, fabric/trapexpansion, fabric/torcherino, fabric/soulshards, fabric/simpleteleporters, fabric/simple_recipes, fabric/simple_pipes, fabric/redstonetweaks, fabric/redstonebits, fabric/randomconfigs, fabric/mbackpacks, fabric/leveluphp, fabric/iamverysmart, fabric/harvest, fabric/fishtraps, fabric/fabric-mining-levels-v0, fabric/fabric-furnaces, fabric/extra-pressure-plates, fabric/dumpster, fabric/darkelevators, fabric/cye, fabric/cursedchests, fabric/craftingpad, fabric/composableautomation, fabric/betterutilities, fabric/alwaysdroploot Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'fabric'
In reply to mrpurple6411:
Yeah, I haven't updated it to 1.14.3 yet.
Plss update to 1.14.2 fabric plsss