promotional bannermobile promotional banner

TMT - Cook-book

TMT Cookbook Fix — a client-side patch for Jordy's Cookbook 1.0.0 on NeoForge 1.21.1. It resolves a game-crashing IllegalArgumentException: duplicate element bug that occurs when opening the cookbook screen under specific block conditions.

# TMT Cookbook Fix

TMT Cookbook Fix is a lightweight, **client-side only** patch designed for servers and players using **Jordy's Cookbook** on **NeoForge 1.21.1**. It resolves a critical crash that occurs when opening the cookbook screen, ensuring a smooth and uninterrupted gameplay experience.

## The Problem

In version 1.0.0 of Jordy's Cookbook, the game crashes with an `IllegalArgumentException: duplicate element` when opening the cookbook screen. This happens if there is a block in the game whose registry path contains a repeated word (e.g., `minecraft:stone_stone`). The original mod uses `Set.of()`, which throws an exception upon receiving duplicate elements, causing the client to crash.

## The Solution

This patch applies a mixin that safely replaces the problematic `Set.of` logic with a `HashSet`. This prevents the crash entirely and allows the cookbook screen to open normally without any errors.

## Features

- **Crash Prevention** — completely fixes the `IllegalArgumentException: duplicate element` bug.
- **Client-Side Only** — you only need to install this on your client. The server does not require it.
- **Lightweight & Seamless** — a tiny mixin-based patch that runs in the background without affecting performance or adding any new items.
- **Drop-in Fix** — simply place it in your `mods` folder alongside Jordy's Cookbook, and the issue is gone.

## Dependencies

| Mod | Version | Required |
|---|---|---|
| Jordy's Cookbook | 1.0.0+ | Yes |
| Minecraft | 1.21.1 | Yes |
| NeoForge | 21.1+ | Yes |

## Installation

1. Download the `.jar` file.
2. Place it in the `mods` folder of your **client**.
3. Make sure **Jordy's Cookbook** is also installed on your client.
4. Launch the game.
5. The crash is fixed!

## Known Issues

- Currently none known.

## Credits

- Developed by **_TIV / TMT (Totalnaya Mod Team)**
- Created for the **Monotopia** server
- Rights holder: **Totalniy**

## Copyright & License

Copyright © 2026 Totalniy / TMT (Totalnaya Mod Team). All rights reserved.

This mod is proprietary software. You may not redistribute, decompile, modify, or claim ownership of this mod without explicit written permission from TMT.

TMT - Cook-book Team

profile avatar
  • 16
    Projects
  • 904
    Downloads

More from totalniyView all

  • TMT - Cobblemon Ride fix project image

    TMT - Cobblemon Ride fix

    TMT Ride Seats — a server-side utility datapack for Cobblemon. It adds functional passenger ride points (seat_1) to specific Pokémon models—like Miraidon, Genesect, and others—allowing players to literally mount and ride these impressive creatures.

    • 5
    • October 27, 2026
  • TMT - No legends fossils project image

    TMT - No legends fossils

    TMT No Legend Fossils — a lightweight balance datapack for Minecraft 1.21.1. It removes the fossils for Mewtwo, Type: Null, and Genesect from the AllTheMons mod, helping server owners prevent players from easily obtaining these powerful legendary Pokémon.

    • 2
    • October 27, 2026
  • TMT - Cobblemon Interaction Fix project image

    TMT - Cobblemon Interaction Fix

    Cobblemon Interaction Fix — a server-side datapack for Cobblemon 1.7.3. It resolves a critical client-crashing bug ("Not a json array") by disabling broken interactions with brushes, fertilizers, and shears, while preserving functional items like buckets.

    • 5
    • October 27, 2026
  • TMT - Spawn Control project image

    TMT - Spawn Control

    TMT Spawn — configuration mod. It gives server owners full control over wild spawn mechanics—including rare bucket rates, shiny chances, and Hidden Ability ratios—with optional integration for Cobbreeding to fine-tune egg IVs and HA inheritance.

    • 5
    • October 27, 2026
  • TMT - Cobblemon Ride fix project image

    TMT - Cobblemon Ride fix

    TMT Ride Seats — a server-side utility datapack for Cobblemon. It adds functional passenger ride points (seat_1) to specific Pokémon models—like Miraidon, Genesect, and others—allowing players to literally mount and ride these impressive creatures.

    • 5
    • October 27, 2026
  • TMT - No legends fossils project image

    TMT - No legends fossils

    TMT No Legend Fossils — a lightweight balance datapack for Minecraft 1.21.1. It removes the fossils for Mewtwo, Type: Null, and Genesect from the AllTheMons mod, helping server owners prevent players from easily obtaining these powerful legendary Pokémon.

    • 2
    • October 27, 2026
  • TMT - Cobblemon Interaction Fix project image

    TMT - Cobblemon Interaction Fix

    Cobblemon Interaction Fix — a server-side datapack for Cobblemon 1.7.3. It resolves a critical client-crashing bug ("Not a json array") by disabling broken interactions with brushes, fertilizers, and shears, while preserving functional items like buckets.

    • 5
    • October 27, 2026
  • TMT - Spawn Control project image

    TMT - Spawn Control

    TMT Spawn — configuration mod. It gives server owners full control over wild spawn mechanics—including rare bucket rates, shiny chances, and Hidden Ability ratios—with optional integration for Cobbreeding to fine-tune egg IVs and HA inheritance.

    • 5
    • October 27, 2026