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. The mod should be compatible with all versions from 1.10 to 1.12.2.

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. 

Features:

Sound system reloading

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).

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 (just because I can).

Default gamerules

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.

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 integer item IDs and amounts higher than 64.
  • /rtreload reloads the server-sided configuration. On a local world, this should be the same as /rtreloadclient.
  • /rtreloadclient reloads the client-sided configuration.

Configurable hunger reset 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.

Squid spawn control

You can 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.

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.

Log filters

Regex filters can be defined in config/randomtweaks/logfilters.json. If a message matches a filter, it is not logged. There's a small chance this may not work as intended, so be careful. More information can be found in logfilters.json after you run Minecraft with RandomTweaks for the first time. To get rid of some additional log spam on 1.10.2, e.g. the modid/registry name spam, try NoMoreLogSpam by nallar.

Time of day overlay

This is toggleable per server/world. It's disabled by default for every world (this can be changed in the config). By default it can be toggled with \. I took this feature from InGame Info XML because I wanted to make it toggleable per server/world. This is disabled by default in Adventure mode and if doDaylightCycle is false.

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. This feature was taken from Ding, and will be disabled by default if it is installed.
  • 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.
  • 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.
  • 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. 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.

TODO

  • Check that Quark's Realistic world type is enabled before disabling RandomTweaks' Realistic world type.
  • More creative tabs.

Companion mods

Most mods from LightChocolate are pretty cool, like Fullscreen Windowed Borderless, JourneyMap, 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
    Dec 10, 2017
  • Total Downloads
    11,002
  • License

Categories

Members