RandomTweaks

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.

I have 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.

Feel free to report issues and post feedback.

Features (to be reorganized):

Keybinds

  • 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 Shift+F8. This is faster than pressing F3+T, which reloads all resources (and takes a lot of time in modpacks).
  • A 'Noclip' keybind, which toggles between /gamemode c and /gamemode sp. This is set to Shift+F4 by default.
  • A keybind that toggles FoV changes. This is set to Shift+, 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. RandomTweaks dynamically generates these Roman numerals 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.

"rtWorldBorderSize" can also be set in here to set the world border in blocks from the chunk (0, 0). 

Commands

  • /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.
  • /disconnect leaves the world. This is client-sided and supports RandomPatches' force title screen on disconnect feature.

Respawn behavior

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.

World types

  • The Realistic world type, by u/Soniop. This feature disables itself if Quark's Realistic world type is enabled.
  • 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 Ctrl+\.

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.

Miscellaneous

  • 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' sound 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 if it is installed. The startup sound disables itself if Dynamic Surroundings' equivalent feature is enabled.
  • 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.
  • When there is a monster nearby but it has a nametag, you can sleep near it.
  • 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.
  • Ocean floor generation The idea for this was taken from Ocean Floor
  • 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.
  • Stepup autojump (disabled by default because it might be seen as cheaty). Press B to toggle between no auto jump, vanilla autojump, and stepup autojump. This also works with the Jump Boost potion effect.
  • Options to configure the maximum hunger and saturation levels.
  • Option to require full cubes for mob spawns.

Every feature is configurable from the files in config/randomtweaks and the in-game configuration GUI. I try to set sensible, non-intrusive defaults, for example, the time of day overlay and stepup autojump features are disabled by default.

Before 1.12.2-2.0.0.0:

Keybinds

  • 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 Shift+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 Ctrl+I by default.
  • A 'Noclip' keybind, which toggles between /gamemode c and /gamemode sp. This is set to Shift+F4 by default.
  • A keybind that toggles FoV changes. This is set to Shift+, 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)

Commands

  • /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.
  • /disconnect leaves the world. This is client-sided and supports RandomPatches' force title screen on disconnect feature.
  • 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.

Respawn behavior

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.

Sleep tweaks

  • 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 

    ~c$0!

        as the replacement.

  • These features are automatically disabled if Comforts is installed because I couldn't make it compatible.

World types

  • 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 Ctrl+\.

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.

Miscellaneous

  • 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 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.
  • Stepup autojump (disabled by default). Press B to toggle between no auto jump, vanilla autojump, and stepup autojump. This works with Jump Boost.
  • Partial German translation by ACGaming.

Every feature is configurable from the files in config/randomtweaks and the in-game configuration GUI. I try to set sensible, non-intrusive defaults, for example, the time of day overlay and stepup autojump features are disabled by default.

The 1.11.2 version should work on 1.10, 1.10.2, 1.11 and 1.11.2 with the same jar. 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.

Companion mods

Most mods from LightChocolate are pretty cool, like Fullscreen Windowed Borderless, Xaero's Minimap, etc. There are also other nice mods like Sound Filters.

Modpacks

No problem. If the modpack is not hosted on Curse, just post a link to this page.

Screenshots:

 

Enchanted Sponge

Void Islands

Void World

Reload Sound System

 


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    258205
  • Created
    Jan 28, 2017
  • Last Released File
    Jun 15, 2018
  • Total Downloads
    298,777
  • License

Categories

Members