HomeJavaModsCreate Bugfix: Clipboard Patch
Create Bugfix: Clipboard Patch
ModsJava

Create Bugfix: Clipboard Patch

by cff1028 · on CurseForge

This mod fixes a bug in the Create mod’s clipboard. It removes illegal data components, ensuring stability by preserving only whitelisted components.

⬇ Download on CurseForge

The author built this one for Minecraft 1.21.1 on NeoForge. On other versions it may install and then do nothing.

Create Bugfix: Clipboard Patch (English Version)

Introduction
This mod fixes a critical exploit in Create Mod's clipboard item for Minecraft 1.21+. Maliciously modified clipboards with illegal data components could trigger item duplication. The patch automatically sanitizes component data to ensure gameplay security.

Technical Mechanism

  1. Event Monitoring: Hooks into ItemTossEvent (player item-drop event)
  2. Item Identification: Detects if dropped item is create:clipboard
  3. Component Whitelisting: Only preserves:
    • create:clipboard_pages (page content)
    • create:clipboard_type (clipboard type)
  4. Illegal Component Handling:
    • Generates clean clipboard instance
    • Migrates whitelisted valid data
    • Auto-replaces dropped item
  5. Exploit Prevention: Blocks item duplication via container or other illegal components

Fix Impact

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more