RandomTweaks is a mod that implements a bunch of miscellaneous tweaks for Minecraft that are useful to have around. There are also some features for modpacks, such as default gamerules and disabling the hunger reset on death.
When installed on the client, it should be completely compatible with vanilla servers, and when installed on a server, it should be completely compatible with vanilla clients. This mod should be compatible with all versions from 1.10 to 1.12.2, although some features don't work for 1.10. However, I usually just test 1.12.2, so there may be issues in older versions, even though 99% of the code is the same.
Feel free to report issues and post feedback.
Note: I've taken some ideas and minor features from other mods. I'm pretty certain that I haven't broken any rules, but I've made sure to link where I got them from.
- When the default audio device is changed, Minecraft fails to update to the new one. This issue is prevalent when using a Bluetooth headset, as Bluetooth headsets tend to disconnect a lot.
By default, this is set to F8. This is faster than pressing F3+T, which reloads all resources (and takes a lot of time in modpacks).
- A keybind to clear the chat. This is set to I by default.
- A 'Noclip' keybind, which toggles between /gamemode c and /gamemode sp. This is set to F4 by default.
- A keybind that toggles FoV changes. This is set to Right Alt by default.
More Roman numerals
Minecraft technically supports enchantments from -32768 to 32767, but only has localizations for levels 1 to 10. Similarly, Minecraft supports potion potencies from -128 to 127, but only has localizations for 1 to 3.
A resource pack containing all of these values would be massive (several megabytes!), so this mod dynamically generates them with no performance overhead.
Default gamerules and world borders
Default gamerules can be put in config/randomtweaks/defaultgamerules.json. You should be able to figure it out from defaultgamerules.json after you run Minecraft with RandomTweaks for the first time. Different gamemodes and world types are supported. They are loaded every time a world is created.
Use the gamerule "rtWorldBorderSize" to set the world border (in blocks) from chunk (0, 0). (Note: this is not an in-game gamerule - it can only be defined in defaultgamerules.json)
- /hunger sets your hunger and saturation level. This may be moved to another mod in the future.
- /deletegamerule deletes gamerules. You know when you try to set a gamerule but misspell it, and have to manually delete it in level.dat?
- /give now allows for amounts higher than 64, integer item IDs, and ore dictionary names prefixed by "ore:", e.g. /give @p ore:ingotIron. Order of precedence: string IDs, ore dictionary names, integer IDs.
- /rtreload reloads the server-sided configuration. On a local world, this should be the same as /rtreloadclient.
- /rtreloadclient reloads the client-sided configuration.
- An option to replace the shortened versions of the gamemode commands (/gms, /gmc, /gma and /gmsp) with the longer ones before being sent. This is client-sided, so should work on any server.
You can disable hunger resetting on death so players can't abuse suicide to avoid having to get food. You can also set the minimum hunger value so players don't immediately die after respawning.
There's another option that allows you to punish players that die if keepInventory is enabled. All XP and 3 hunger points are removed.
- Backports the feature from 1.12+ where you can sleep near a zombie pigman that's not angry at you.
- When there is a monster nearby but it has a nametag, you can sleep near it.
- If Surge is detected, Surge's pigman sleep fix feature will be disabled as this mod does the same thing and more.
- On 1.10, some 1.11+ sleep behavior is backported, e.g. the "You may not rest now, the bed is too far away" message and more lenient range checking. To backport the message being a tooltip instead of a chat message, you'll have to use ChatFlow, with
^(You can only sleep at night)$|^(You may not rest now, there are monsters nearby)$|^(This bed is occupied)$|^(Your home bed was missing or obstructed)$|^(You may not rest now, the bed is too far away)$
as the matcher and
as the replacement.
- These features are automatically disabled if Comforts is installed because I couldn't make it compatible.
- The Realistic world type, by u/Soniop. This feature is disabled by default if Quark is detected, since Quark has this feature too.
- The Void world type, a completely empty void world with only one block to stand on (or not, if you've set it to air). If a player respawns and there's no block to spawn on, the block will be placed again. The block and biome(s) are configurable.
- The Void Islands world type, which is the same as the Realistic world type, but most of the chunks are empty. The rarity of non-empty chunks and the biome(s) of the empty chunks are configurable.
Time of day overlay
This is disabled by default, but this can be changed in the config. By default, it can be toggled with \.
This feature was taken from InGame Info XML and improved upon. It does not show when the debug menu is enabled or if the UI is disabled.
It is disabled by default in Adventure mode or if doDaylightCycle is false.
Both 12-hour time and 24-hour time are supported, and the position is configurable.
Toggling the overlay only toggles it for the world it was toggled in, so you don't have to disable it every time you join a specific server.
- The bucket is moved to the Tools tab in the creative menu.
- Spawn eggs are moved to their own tab in the creative menu.
- Tamed ocelots can be healed with raw fish.
- A 'Ding' that plays when the client or a world is loaded. The sound played can be changed in the config, and multiple sounds can be defined so a random one is chosen. This feature was taken from Ding, and will be disabled by default if it is installed.
- Configurable player head drop chances.
- Auto third person, which supports elytra, pigs, horses, etc.
- Customizable player attack speed. Try setting this to 24.0 to disable the item attack cooldown.
- Options to disable the Wither and Ender Dragon broadcast sounds. Does the same thing as Bad Wither No Cookie!, but if you want more control, you should use Bad Wither No Cookie - Reloaded.
- Option to disable potion effects shifting GUIs to the right.
- Option to remove underwater fog.
- Option to replace NuclearCraft Sulfur drops with Thermal Foundation Sulfur (disabled by default).
- Pet protection. The idea for this was taken from Friendly Fire.
- Ocean floor generation (disabled by default). The idea for this was taken from Ocean Floor.
- Option to unload unused dimensions every 600 ticks (this number can be changed). This was taken from Unloader.
- Option to remove cumulative anvil repair costs. This was taken from CplPibald's Tweaks.
- Option to set the max squid pack size and the amount of squids that can spawn in one chunk. You can also set how far a squid can spawn from a player. This was taken from Squidless.
- Partial German translation by ACGaming.
Every feature is configurable from the files in config/randomtweaks and the in-game configuration GUI. The 1.11.2 version should work on 1.10, 1.10.2, 1.11 and 1.11.2 with the same jar (but isn't tested by me anymore). The 1.12.2 version should also work on 1.12.1 and 1.12. In fact, the only difference between the 1.10/1.11 version and the 1.12 version is one class file.
Most mods from LightChocolate are pretty cool, like Fullscreen Windowed Borderless, Xaero's Minimap, etc. There are also other nice mods like Sound Filters.
No problem. If the modpack is not hosted on Curse, just post a link to this page.