force_item_battle banner
force_item_battle icon

force_item_battle

Erstelle einen clientseitigen Minecraft Fabric Mod für Minecraft 1.21, der ein „Force Item Battle“ ermöglicht und mit der Essential Mod im Singleplayer und...

00
fabricServer1.21mod

Force Item Battle (client-side Fabric mod)

  • Adds a client-only Force Item Battle challenge for Minecraft 1.21.1. Use /forceitem start to begin: every player receives a random survival-obtainable target item that floats above their head as an icon (not added to inventory). When a player obtains the target item in survival, they automatically earn a point and get a new target.
  • Commands (client commands; all players need the mod installed): /forceitem start, /forceitem skip (max 3 skips per player, auto-gives the current target then moves on), /forceitem score (opens a GUI showing each player’s collected items in order and current score), /forceitem end (stops assigning new targets and hides floating icons, but keeps scores visible in the GUI).
  • Multiplayer syncing is handled purely client-side by sending compact coded chat messages; modded clients intercept these so they are hidden locally and keep everyone in sync. If someone without the mod is present, they will see the raw [FIB]|... messages.
  • Target pool filters out creative/debug-only items and spawn eggs to stay survival-friendly; random selection is deterministic at challenge start so every client assigns the same initial targets.
  • Known limitations: Item spawning for /forceitem skip depends on server permissions—on pure remote servers the server may reject the injected item; singleplayer/Essential-hosted worlds work reliably. Because syncing relies on chat, muted chat or servers blocking/rewriting messages will prevent synchronization. New players joining after a start receive deterministic targets, but they need the mod installed to participate.