Repository navigation
Home
Welcome to the Train's Tweaks wiki!
This mod is a compilation (and port to multi-platform) of several of my previous tweak mods, other tweaks I've found myself wanting while making modpacks, and user requests. For a config menu, use the Configured mod. I recommended restarting the game after changing any config option.
All features and notes on their compatibility with other mods:
| Feature | Description | Enabled by default? | Compatibility notes |
|---|---|---|---|
| AttackSpeed | Properly disconnects the attack speed and block break speed attributes. Make Haste and Mining Fatigue only affect block break speed. Conduit Power will no longer include a Haste-like effect, but Conduit can be configured to grant Haste (in addition to Conduit Power) to make up for this. Dedicated attack speed effects are included but unused by default (their icons aren't great). | No | The implementation of this feature is necessarily somewhat jank as it has to modify code that is loaded early. Effect description mods may have incorrect descriptions. A lot of mods have hardcoded checks for haste/mining fatigue which may influence attack speed in some fashion. |
| Bee | Option to prevent bees from losing their stingers and dying when they attack, option to not require campfires for harvesting beehives, option to set how many honey comb are dropped per shear | No | |
| Cure | Configure Zombie Villager curing. Add effects that count as Weakness to the config file, and use the item tag trains_tweaks:curing_items to change which item(s) start the curing process. Or use trains_tweaks:instant_curing_items (which has Enchanted Golden Apple in by default) for instant conversion. |
Yes | |
| Difficulty | Modify how difficulty works; Option to remove damage multiplier from difficulty setting and apply constant modifiers to regional difficulty. | No | Your configuration may have unintended consequences, especially with other mods who depend on these values. Use these config options sparingly |
| Experience | Configure the experience/level curve. Many options are available; choose from an increasing formula (Curve Mode) or a fixed amount of experience for each level. See this spreadsheet for comparisons. | No | This is a port of my LinearLevels mod and is incompatible with forks of it such as Fixed Levels. Also, XP storage mods will not use the correct numbers (unless they dynamically calculate a ratio of xp-to-level using Player#getXpNeededForNextLevel) |
| FireResistant | Allows the user to define which items have the fire-resistant property (or not) that Netherite items do using the item tags trains_tweaks:fire_resistant or trains_tweaks:not_fire_resistant. |
Yes | If Lychee is installed, trains_tweaks:fire_immune will not function. you should use the lychee:fire_immune item tag instead. trains_tweaks:not_fire_immune will still function in this case (assuming it's enabled in the config) |
| Goat | Lets you change the chance of a newly-spawned goat being a screaming goat, chances of a goat spawning with only one horn, and provides alternate ways to obtain goat horns (you can already change which items are dropped from goat ramming with vanilla instrument tags) | No | |
| Horse | Ensure horse breed offspring never have worse stats, and set minimum stats for horses and llamas | Yes | Modded mobs that inherit from AbstractHorse may be affected by this |
| Interdimensional | Enables configuration of nether portal frames and what dimensions can have nether portals in them, restrict potion effects in specific dimensions, change Eye of Ender implode chance, and configure End Gateway spawn mechanics | No | Incompatible with Charm, Crying Portals, and Frame Changer |
| Jumpy | Adds an option to properly connect Jump Strength attribute with Jump Boost effect, and adds entity tags that makes animals jump like in beta | No | |
| Loot | Provides loot functions; trains_tweaks:enchant_max, trains_tweaks:enchant_treasure, enchant_curse, enchant_all, randomize_exclude, randomize_include. See loot tables under trains_tweaks/demo for usage. Does absolutely nothing if you don't use these functions in a datapack. |
Yes (cannot be disabled) | Future versions of NeoForge might not like how these functions are registered but that shouldn't be too hard to fix |
| MobDrops | If enabled, replaces hardcoded mobs drops such as Nether Star, Chicken Egg, Turtle Scute, and Armadillo Shed with loot tables. See config file for loot table names. Adds brushing to turtles. Also lets you enable baby drops. | No | Provided loot tables produce similar results to vanilla; you must make a datapack yourself to see changes. The enabled-by-default gameplay loot tables (like armadillo shed and turtle grow) have EMI Loot lang keys. |
| Npc | Configure NPC entities, villagers and pillagers, such as configuring the reputation mechanic and enabling pillagers to attack babies | No | Anything that extends Villager, AbstractIllager, and Raider should be affected by the relevant tweaks |
| Ocelot | Makes Ocelots more interesting by making them hunt fish and tamable into cats again. Tamed ocelots can be configured to produce a specific cat variant. | Yes | |
| PowderWalking | Allows the user to define which items allow entities to walk on Powder Snow using the item tags trains_tweaks:powder_walking_item (for mainhand or offhand) or trains_tweaks:powder_walking_armor (for all armor slots, including animal armor). |
Yes | |
| Quasi | Allows disabling, opting-in per block, or opting-out per block, of Quasi-Connectivity | No | Incompatible with Carpet |
| Rarity | Allows the user to define rarity for items using item tags (trains_tweaks:common to trains_tweaks:epic). Prevents enchantments from changing an item's rarity (can be disabled). Train's Tweaks also provides Item Modifiers so commands or loot tables can easily change the rarity of an individual item. |
Yes | This works by setting the rarity component on tick; this might impact performance but I haven't tested. Removing the item from every rarity tag will only reset the rarity if Restore Default Rarity option is enabled |
| SpawnsWith | Define what equipment mobs spawn with using the Equipment loot tables added in 1.21. This means you can make zombies spawn with gold shovels instead of iron ones, for instance. See below for more details. | No* (Yes if you're a developer) | You should be able to create an equipment table for any Entity Type that extends LivingEntity. |
| Trigger | Adds advancement triggers: trains_tweaks:day, trains_tweaks:gametime, system_date, system_day_of_week, glide, dropped_item. Allows advancements to check for in-game days, number of ticks since world creation, system date/day of week, and more. Does nothing if not used in a datapack, but individual triggers can be disabled in case they effect performance (unlikely). See demo advancements under trains_tweaks:demo for usage. |
No | |
| UtilityCommands | Adds an option to force-enable developer-only vanilla debugging commands as well as some new operator commands | No | |
| Vehicle | Makes vehicles break instantly for players, and turns boat breakable blocks into a block tag | Yes | Twilight Forest and Biomes O' Plenty lily pads are included in the block tag |
| Wolf | Replaces the hardcoded check for creepers and ghasts in tamed wolf attacking code with the entity tag trains_tweaks:tamed_wolves_avoid_attacking. Snowy wolves can walk on Powder Snow. Armor and health nerf options are included but are disabled by default. |
Yes | Creeper Overhaul, Grimoire of Gaia, Enemy Expansion, Caverns and Chasms, Alex's Caves mobs are included in the entity type tag |
| Xplosiv | Configs relating to explosions and how powerful they should be. Also allows making TNT unstable and/or ignite instantly. | No | |
| Yeet | Config options relating to throwing things and projectiles in general; makes fire charges throwable, snowballs inflict freeze ticks, and Bottle O' Enchanting grant 10 xp by default | Yes | The "Snowballs Freeze Mobs" mod does not actually inflict freeze ticks, only inflicting blindness, so it should be compatible |
| Zzz | Config options relating to beds, sleeping, and respawning; option to reduce sleep time, option for sleeping healing players, option for entities to sleep through poison damage. Adds options to remove debuffs after sleeeping and to change client sleep overlay color. | No |
This mod is powered almost entirely by mixins! Due to the precarious nature of mixins and the large amount of vanilla code modified by Train's Tweaks, I recommend you disable this mod first if you come across an issue with your pack. Only enable it after ensuring Train's Tweaks is not the source of the problem. If it is the source of the problem, create an issue on GitHub. Your saves should be safe if Train's Tweaks is disabled, although your datapack may not load if you use the Loot or Trigger features in them. As always, it's best to make a world backup.