KOTA Fix

Quick rating

KOTA Fix

No reviews yet

This mixin fixes the Knowledge enchant from Zenith not working with Create 6.0

Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

CurseForge logo CurseForge Modrinth
No longer available on Modrinth

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
License
Creative Commons Zero v1.0 Universal
Latest Version
kota_fix-1.0.1.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Kota Fix (Zenith x Create Compatibility)

Kota Fix is a lightweight Fabric 1.20.1 compatibility patch designed to restore the functionality of Zenith's Knowledge Enchantment when the Create mod is present.

The Core Issue

Both Zenith and Create rely on a shared library called porting_lib. This library's DROPS event system contains a critical design flaw: it stops processing handlers as soon as any handler returns true.

In many modpacks, Create's event handlers (which manage things like Deployer kills or Crushing Wheel drops) are registered earlier or run first. Even if a regular player performs the kill, logic within these handlers or other mods using the same library can trigger an early return, preventing Zenith's Knowledge handler from ever executing. This effectively "breaks" the Knowledge enchantment, making it impossible to gain the 25x XP bonus from Mob drops.

Technical Implementation (The "Area Scanner" Fix)

Instead of attempting a fragile Mixin patch on the embedded porting_lib code, Kota Fix implements a robust "post-processing" solution:

  1. Event Interception: The mod registers its own high-priority handler on the DROPS event.
  2. Kill Detection: When a player with the Knowledge enchantment kills a mob, the mod identifies the event and calculates the expected XP multiplier based on the enchantment level.
  3. Buffered Conversion:
    • The mod immediately clears items from the drops collection to prevent baseline looting.
    • It registers a 2-tick delayed Area Scan around the death location.
  4. The Scan: After 2 ticks (ensuring all other mods have finished their loot-spawning logic), the mod scans a 1x1x1 radius for any orphaned ItemEntity objects.
  5. XP Transformation: All found items are discarded and converted into ExperienceOrbEntity objects using the standard Zenith formula (totalItems * knowledge * 25).

Compatibility

  • Minecraft: 1.20.1
  • Mod Loader: Fabric
  • Required Mods: Zenith (or Apotheosis), Create (specifically versions using porting_lib).
  • Logic: This mod acts as a bridge and is safe to use in any modpack where Zenith Knowledge is failing to trigger.

Kota Fix (Zenith x Create Compatibility)

Kota Fix is a lightweight Fabric 1.20.1 compatibility patch designed to restore the functionality of Zenith's Knowledge Enchantment when the Create mod is present.

The Core Issue

Both Zenith and Create rely on a shared library called porting_lib. This library's DROPS event system contains a critical design flaw: it stops processing handlers as soon as any handler returns true.

In many modpacks, Create's event handlers (which manage things like Deployer kills or Crushing Wheel drops) are registered earlier or run first. Even if a regular player performs the kill, logic within these handlers or other mods using the same library can trigger an early return, preventing Zenith's Knowledge handler from ever executing. This effectively "breaks" the Knowledge enchantment, making it impossible to gain the 25x XP bonus from Mob drops.

Technical Implementation (The "Area Scanner" Fix)

Instead of attempting a fragile Mixin patch on the embedded porting_lib code, Kota Fix implements a robust "post-processing" solution:

  1. Event Interception: The mod registers its own high-priority handler on the DROPS event.
  2. Kill Detection: When a player with the Knowledge enchantment kills a mob, the mod identifies the event and calculates the expected XP multiplier based on the enchantment level.
  3. Buffered Conversion:
    • The mod immediately clears items from the drops collection to prevent baseline looting.
    • It registers a 2-tick delayed Area Scan around the death location.
  • The Scan: After 2 ticks (ensuring all other mods have finished their loot-spawning logic), the mod scans a 1x1x1 radius for any orphaned ItemEntity objects.
  • XP Transformation: All found items are discarded and converted into ExperienceOrbEntity objects using the standard Zenith formula (totalItems * knowledge * 25).

Compatibility

  • Minecraft: 1.20.1
  • Mod Loader: Fabric
  • Required Mods: Zenith (or Apotheosis), Create (specifically versions using porting_lib).
  • Logic: This mod acts as a bridge and is safe to use in any modpack where Zenith Knowledge is failing to trigger.

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Total Downloads
CurseForge
<1,000
Modrinth
<1,000
Last Updated
CurseForge
Modrinth
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works