On this page (25)
- At a glance
- Why Nytheria has it
- What you may notice as a player
- The Java arguments hint
- Weaker screen shake (owner's wish)
- /locate by part of a name (owner's wish)
- Shared pets (owner's wish)
- Compass wear (owner's wish, set on in Nytheria's config)
- HUD fixes that you may see
- All 57 switches
- Faster starts and resource reloads
- Less lag while playing
- What is idle in the pack
- Memory that is given back when a world closes
- Crash and data-loss fixes
- Fixes between mods
- HUD placement (client)
- The log and the Java hint
- Owner's wishes (not repairs)
- The /admin command (operators)
- Config files
- Compatibility notes
- What it builds on and credits
- FAQ
- See also
TickMender is the mod that quietly keeps Nytheria running well. It repairs performance and stability problems in Minecraft and in other mods, in cases where the original author has no fix. Each repair has its own on/off switch, and does nothing when the mod it repairs is not installed or looks different from the version the repair was written for.
Most of it you will never see. A few parts you will: a hint with the recommended Java arguments, weaker screen shake, /locate that understands part of a name, pets that your party can use, and an /admin command for operators.
At a glance#
| Side | Both. It works on clients and on dedicated servers, and neither side needs the other to have it |
| Version in the pack | 1.6.0 |
| Needs | Minecraft 1.21.1 on Fabric, Fabric Loader 0.16.0 or newer, Java 21. No Fabric API, no packets, no registries, nothing shaded |
| Switches | 57. All on in Nytheria except irisSameDimensionReload |
| Made by | Navrelis |
| Licence | MIT |
Why Nytheria has it#
A pack of nearly 400 mods runs into problems that no single author sees. A mod keeps a closed world in memory, another loads a chunk from the server thread, a third writes to a file at the wrong time. The pack's owner measured the Nytheria server and client, found the causes and fixed them here, instead of waiting for fixes upstream. TickMender replaced the older Twilight Flask Fix and the log suppressor of the older NytheriaOptimiser mod.
Every fix keeps what the game does and only makes it cheaper, or keeps data from being lost. The exceptions are labelled "owner's wish" below.
What you may notice as a player#
The Java arguments hint#
On the title screen, once per game run, TickMender can show a screen with the recommended Java arguments for the pack: a heading, the steps, the line in a box and a Copy button. It appears only when you started the pack without those arguments.
- Open the CurseForge app, select the pack, click the three dots next to Play and choose Profile Options.
- Paste the copied line into Additional Arguments.
- Start the game again.
If the game runs worse with them, remove them again. The same text is saved as tickmender-jvm-arguments.txt in the game folder. Done closes the screen and Do not show again hides it for good (it remembers in .cache/tickmender/jvm-hint.json).
The client line is the pack's own G1 line, measured on the owner's PC: with the launcher's defaults, one test flight had 100 frames over 50 ms and a freeze of 1.16 seconds, and with the pack's line 42 frames and 189 ms. It is offered when the game has at least 7,000 MB of heap, 4 processors and Java 21.
If your heap is below 10,000 MB and your PC has at least 16,000 MB of memory, the screen adds "This modpack runs best with 10 GB of memory." See Performance & Shaders.
A dedicated server started without the matching flags gets one warning in its log and the same file, instead of a screen. The server lines are Aikar's flags and were not measured on this pack, so remove them if the server runs worse. The hint never shows a heap that is too close to the machine's memory: it compares the largest heap with the memory the JVM may use, and suggests a smaller one when needed. Add -Dtickmender.jvmHint=off to silence it.
Weaker screen shake (owner's wish)#
Screen shake that other mods add (for example L_Ender's Cataclysm bosses, Twilight Forest and Eternal Starlight) is cut to half strength, and no shake together turns the camera by more than 6 degrees in one frame. Set strength to 1.0 to get the mods' own strength back.
/locate by part of a name (owner's wish)#
/locate structure, /locate biome and /locate poi suggest ids from every namespace, matching the start of the path or of any word in it. Typing deser offers minecraft:desert, terralith:desert_oasis and terralith:desert_spires. You can also leave out the namespace, and the chat line does not turn red while you are still typing.
Shared pets (owner's wish)#
A member of the same FTB Teams party or Open Parties and Claims party as a pet's owner can do what the owner can with the pet: sit it and stand it, dye its collar, put on wolf armour, and heal a cat. A pet never targets or turns on its owner's teammates or their pets, even when two teammates hit each other. Ownership, following and teleporting stay with the owner.
Compass wear (owner's wish, set on in Nytheria's config)#
Two switches make Nature's Compass and Explorer's Compass wear out. They are off by default in the mod, and the pack's current tickmender.json has both on. Each search rolls a chance that the compass still works, falling with the number of searches the compass mod counted, then a cooldown, and a cost in experience levels.
| Nature's Compass | Explorer's Compass | |
|---|---|---|
| Chance that use 1, 2, 3 ... works | 100, 100, 100, 95, 75, 30, 20, 10, 5, 0 percent | the same |
| Cooldown after a successful search | 12,000 ticks (10 minutes) | 24,000 ticks (20 minutes) |
| Cost per search | 10 experience levels | 20 experience levels |
Creative players are not affected. A use beyond the end of the list always crumbles the compass. The numbers are in config/tickmender-compasswear.json, and the compass mods count a use only while their own compassDurability is above 0 (it is 10 in the pack).
HUD fixes that you may see#
- Overflowing Bars rises with the hotbar when Misc Tweaks raises it (the pack raises it by 2 pixels), so hearts and food line up.
- EMI's status effect row no longer covers the "Open the journal" tab of the quest book.
- Immersive Armor HUD sits above the armour bar instead of at a fixed height.
All 57 switches#
The switches are in config/tickmender.json. true is on and false is off. The file is read once at game start, so restart after a change. Nytheria has every switch on except irisSameDimensionReload. Many switches name a mod and a version: they are applied only to those versions, and stay idle otherwise.
Faster starts and resource reloads#
| Switch | What it does for you |
|---|---|
ringPlacementExecutor | Ends a 30 second stall while worlds are created. World load takes 6 to 8 seconds in a warm boot instead of 34 to 47 |
fuelRegistryApplyOnce | EMI's fuel index at every world join took 10 to 44 seconds on its worker thread. Fabric API's fuel registry is applied once per map instead |
almostUnifiedTagReloadLock | Stops the server from now and then failing to start with "Failed to load datapacks" (3 of 85 boots measured) |
zipPackListingIndex | Walks a zip resource pack once per open file, not once per listing. Expected 3 to 6 seconds less per client start and reload |
athenaModelDataMemo | Athena's lookup for each baked model is answered once per block and loader type (client) |
craftTweakerScanCache | Scans every jar once per set of jars, not at every start: 4.4 to 5.6 seconds saved on the render thread. The answer is kept in .cache/tickmender/ |
betterEndFlowerPotModels | Builds each of the eight flower pot models once per reload instead of 4,352 times (BetterEnd 30.5.0 only, client) |
betterGrassifyModelHook | Parses BetterGrassify's block ids once per model loader (1.8.7 only, client) |
twilightForestModelEvents | No identifier built per jar lid for a model that cannot be a lid (Twilight Forest 4.8.734 and 4.8.754, client) |
blockStateModelIdMemo | A block state's model id is built once per reload instead of three times (client) |
moreCullingSpriteScanMemo | Scans each texture part once per run of More Culling's listener (1.0.10 only, client) |
irisSameDimensionReload | No shader pipeline rebuild (about 2 seconds) for a respawn or re-entering a world in the same dimension (Iris 1.8.14, client). Off in Nytheria and by default |
Less lag while playing#
| Switch | What it does for you |
|---|---|
puzzlesLibDispatchCache | Event dispatch of PuzzlesLib about 100 times cheaper per listener call. It was 20 to 30 percent of a busy server tick |
astralTickProcedures | About 1 ms less per tick with 1,500 entities in Astral Dimension, and no chunk load from three per-entity procedures |
twilightForestSpawnLookup | About 0.5 ms less per tick with four players |
chunkSendingExpiryScan | About 0.3 ms less per tick (Chunk Sending 3.9) |
goblinTradersKeyCache | About 0.25 ms less per tick (Goblin Traders 1.11.2) |
artifactsDoubleJumpRead | No chunk load on the server thread for each movement packet of a player who outruns world generation (Artifacts Remastered) |
tideInfoBlockScan | No chunk load on the server thread from Tide's once-a-second scan |
structurePlaceFilter | A large structure template is no longer processed in full for every chunk it overlaps. Removes the memory burst of the Aether's olympic_citadel |
structureTemplateCacheHit | Loaded structure templates are answered without a lock, which ModernFix's cache otherwise makes worldgen workers wait on |
terraBlenderRuleMemo | Surface rules per biome namespace looked up once per rule (TerraBlender 4.1.0.8) |
puzzlesLibConfigHolderLookup | No message text built for every config lookup of PuzzlesLib mods (versions 21.1.62, 21.1.64, 21.1.66) |
betterGrassifySnowNeighbour | The "better snow" check makes far less garbage while flying (BetterGrassify 1.8.7, client) |
betterCavesNoiseCubes | Noise cubes of cave carving written into arrays a thread keeps: 11.5 percent of all garbage while flying over new terrain (Better Caves 3.1.6) |
betterCavesThresholds | A column's thresholds as a small view instead of a new map per column (Better Caves 3.1.6) |
betterCavesCarvedChunkSet | Makes the set of carved chunks safe for all worldgen threads, which removes a data race (Better Caves 3.1.6) |
betterEndIslandArenaWait | The first dragon arena (289 chunks) is no longer generated on the server thread on the first visit of the End (YUNG's Better End Island 3.1.2) |
What is idle in the pack#
A switch that is on can still do nothing, because it is written for one version of a mod. In the development instance's latest log, TickMender reports these as idle:
| Switch | Why it is idle |
|---|---|
betterEndFlowerPotModels | BetterEnd 30.5.1 fixes this at the source |
twilightForestModelEvents | Written for Twilight Forest 4.8.734 and 4.8.754, the pack has 4.8.796 |
twilightForestFlaskData | The same version gate |
moreCullingSpriteScanMemo | Written for More Culling 1.0.10, the pack has 1.0.11 |
strayArmadilloCleanup | Only runs in a pack with Sporran, which Nytheria Compat replaced |
Many others show "waiting" at start, which only means their target class loads later. The startup log has one line, "TickMender 1.6.0 fixes: ...", that lists every switch and its state.
Memory that is given back when a world closes#
Before these fixes, every singleplayer world you opened and closed left a few hundred megabytes behind until you restarted the game.
| Switch | What it lets go |
|---|---|
stoppedServerCriteria | Advancement listeners of fake players that never leave. About 235 MB per world opened and closed were never freed |
stoppedServerFakePlayers | Fabric API's fake player map |
stoppedServerModStatics | Things twelve mods keep of a stopped server: Open Parties and Claims, Eternal Starlight, Porting Lib, Polytone, What Are They Up To, Bad Packets, Connectivity, BCLib, Xaero's library, WorldWeaver, Twilight Forest and Tide |
closedWorldRenderContext | The client world you left, on the title screen (client) |
stoppedServerBiomeSearchCache | The biome search's per-thread cache that kept every closed world's registries |
Crash and data-loss fixes#
| Switch | What it fixes |
|---|---|
aetherAercloudSave | A lost chunk save in the Aether (ConcurrentModificationException) with large aerclouds |
merchantShutdownSave | Wandering traders and villagers now survive a server stop |
twilightForestFlaskData | A player whose potion flask tracking was reset (earning the hidden advancement "Full Mettle Alchemist") can be loaded again. Before, such a player could never join again. Same repair as the standalone mod Twilight Flask Fix, and it stands back while that mod is installed |
biomesWeveGoneConfigWrite | The game no longer stops at start when another program (backup, sync, antivirus) has a config file open (Oh The Biomes We've Gone 2.6.0 and 2.6.3) |
supplementariesBookPileLimit | A book used on a full book pile no longer crashes the game (Supplementaries 1.21.1-4.0.2) |
palNonServerPlayer | KIBE's player tick no longer fails with a ClassCastException for a player that is not a server player |
revengeAlertNullAttacker | A safety net against a NullPointerException in a mob's revenge goal |
yigdHiddenAccessorySlots | About 455 fewer "invalid item" log lines per server start from graves (You're in Grave Danger 2.4.18). No item is lost |
strayArmadilloCleanup | Removes once the armadillos that a defective spawn list put into every Overworld biome and that are still saved in worlds. Only in a pack with Sporran's old spawn defect |
debugifySwitcherDebugScreen | The game mode switcher (F3 plus F4) no longer ends in the debug screen (Debugify, client) |
Fixes between mods#
| Switch | What it fixes |
|---|---|
clumpsXpEffects | Farm & Charm's "Rested" and Vinery's "Experience" add experience again with Clumps installed |
kibeRingDimensionState | KIBE's Angel, Magma and Water Ring no longer switch themselves off when two wearers are in different dimensions |
kibeRingDoubleCount | The Angel Ring in an Accessories ring slot counts once and keeps flight |
HUD placement (client)#
| Switch | What it fixes |
|---|---|
immersiveArmorHudRow | Armour piece icons sit one row above whatever is stacked on the left of the hotbar |
overflowingBarsHotbarRaise | Hearts, armour and toughness of Overflowing Bars rise with the hotbar when Misc Tweaks raises it (Overflowing Bars 21.1.1) |
emiEffectsAboveJournal | EMI's effect row moves up when it would cover the quest book's journal tab (EMI Remastered 2.1.0) |
The log and the Java hint#
| Switch | What it does |
|---|---|
logFilter | Keeps known, harmless warnings of other mods out of the log. 58 patterns (39 texts, 15 expressions, 2 exception expressions and 2 for INFO lines), each naming one known message, installed before any mod starts. Errors that can be real defects (a recipe, loot table or advancement that cannot load, a missing sprite or model, a broken tag, a chunk that cannot load) are never filtered |
jvmArgumentsHint | The screen and file described above |
Owner's wishes (not repairs)#
| Switch | What it does | In Nytheria |
|---|---|---|
cameraShakeLimit | Weaker screen shake | On; strength 0.5, maxDegrees 6.0 |
naturesCompassWear | Nature's Compass wears out | On |
explorersCompassWear | Explorer's Compass wears out | On |
locateAnyNamespace | /locate by part of a name | On |
petSharing | Pets shared with the party | On |
adminTools | The /admin and /adminrtp commands | On; off by default in the mod |
The /admin command (operators)#
With adminTools on, TickMender adds one root command, /admin, with the tools of the people who run a server, and /adminrtp, a random teleport for operators. A player with the vanilla game or any modded client can use them. Nothing is needed on the client. Typing /admin alone opens a chest-style menu. /admin help [page] lists the commands you may use, and clicking a line puts it into the chat box.
Who may use it is decided by the vanilla operator level. Staff are level 3 or more (permissionLevel), and owner commands need level 4 (ownerPermissionLevel). The console and RCON count as owner. Both levels can be changed in config/tickmender-admin.json and applied with /admin reload.
| Group | Examples |
|---|---|
| Core | help, reload, audit [player] (a log of every /admin command) |
| Vanish and staff mode | vanish, spectate, follow, staffmode, vanish silentjoin |
| Inventory | invsee, endersee, backpacksee, invsnapshot, invclear, deathinv, revive, itemsearch |
| Moderation | ban, tempban, ipban (owner), kick, mute, warn, freeze, jails, note, alts, socialspy, commandspy, chat clear|lock|slow, sc (staff chat), maintenance |
| Player tools | whois, seen, playtime, ping, heal, feed, fly, god, tp, back, unstuck, nick, sudo (owner) |
| Items | item rename|lore|enchant|unbreakable|repair, repair all, hat, powertool |
| Server | tps, lag, entities, chunks, mem, killall, butcher, clearlag, restart <time> |
| Discord | webhook (owner), settings in tickmender-admin.json |
Vanish reaches into Xaero's Minimap and World Map, Open Parties and Claims, FTB Teams, Simple Voice Chat, Waystones and WATUT where they are installed, so a vanished admin stays hidden there too. Data is kept in <world>/tickmender-admin/.
The settings of Nytheria's config/tickmender-admin.json:
| Setting | Value | What it does |
|---|---|---|
permissionLevel | 3 | Operator level for /admin |
ownerPermissionLevel | 4 | Level for owner-only commands |
webhookEnabled | false | The Discord webhook is off |
warnActions | 3 warnings: tempban 1d; 5 warnings: ban | What happens at that many warnings |
chatSlowSeconds | 5 | Delay of /admin chat slow without a number |
clearlagIntervalMinutes | 0 | Automatic clean-up of dropped items is off |
clearlagWarnSeconds | 60, 30, 10, 5 | Warning times before a clean-up |
restartWarnSeconds | 600, 300, 60, 30, 10, 5, 4, 3, 2, 1 | Warning times before a restart |
inventorySnapshotsPerPlayer | 20 | Snapshots kept per player |
deathSnapshotsPerPlayer | 10 | Death snapshots kept per player |
auditLogMaxMegabytes | 10 | Size at which the audit log is rotated |
vanishBlocksPublicChat, vanishSilentContainers, vanishMessagesToStaff | true | How a vanished admin behaves |
vanishItemPickup | false | A vanished admin does not pick up items |
Config files#
| File | What it holds |
|---|---|
config/tickmender.json | The 57 switches |
config/tickmender-camerashake.json | strength 0.5 and maxDegrees 6.0 |
config/tickmender-compasswear.json | Chances, cooldowns and level costs per compass |
config/tickmender-admin.json | The /admin settings. The webhook address is a secret, so keep this file private |
config/tickmender-logfilter.json | The patterns of the log filter |
tickmender-jvm-arguments.txt | The Java arguments text, in the game folder |
Compatibility notes#
- Safe by design. A fix is a mixin into one class. When the target mod is not installed, or the version differs from the one the fix was written for, it stays idle. Many of the fixes above say "only" with a version for this reason.
- Updates. If a mod updates, a version-gated fix may stop applying until TickMender is updated. That only means the old behaviour returns. It is never a crash.
- Twilight Flask Fix. Do not need both. TickMender's flask fix stands back while the standalone mod is installed.
- Servers. Neither side needs the other to have it. Fixes that only matter on the server (for example the tick fixes) help even if clients do not have TickMender, and client fixes are applied by the client's own copy.
- Keep the switches alone unless you know which fix causes a problem. If you suspect one, set it to
false, restart and compare. Ask on the Discord first.
What it builds on and credits#
- Navrelis wrote TickMender. The fixes are measured on the Nytheria server and client and are described in the mod's README with the evidence.
- It replaces the log suppressor of NytheriaOptimiser and the standalone Twilight Flask Fix.
- Every fix repairs a class of another mod or of Minecraft. The credit for those mods stays with their authors: PuzzlesLib and Overflowing Bars by Fuzs, Twilight Forest by the Twilight Forest team, Iris by coderbot and IMS, and the others named in the tables.
FAQ#
Does TickMender change gameplay? Almost never. The repairs keep what the game does. The six switches under "Owner's wishes" are the exceptions, and they are labelled.
The compass crumbled and cost me levels. Is that a bug? No. The compass wear switches are on in the pack's current config. See the compass table above, and ask on the Discord if you think this should change.
Why does the game show me a screen with Java arguments? Your launcher starts the game without the pack's recommended arguments. Paste them as described, or choose Do not show again.
Can a player use /admin? Only operators of level 3 or higher.
Why is my log so clean? The log filter hides 58 known, harmless messages. Real errors are not filtered.
Do I need it on my server?
It helps most there. Most tick, memory and shutdown fixes matter on the server. Put the same tickmender.json next to it.
See also#
- Performance & Shaders
- Troubleshooting
- Commands
- Running a Server
- HungerDial and Nytheria Compat, the other under-the-hood mods