Fabric Mod

VaultTimer

Create a client-side Fabric mod called "VaultTimer" for Minecraft Trial Chamber Vaults. Core Detection & Anti-False-Trigger Logic: - Detect when the player is looking at a Vault or Ominous Vault block within reach while holding a Trial Key or Ominous Trial Key. - Read the Vault block entity's currently displayed item (`displayedItem`).

Leia a descrição completa

- STRICT VALIDATION: Never trigger if the displayed item is empty (`ItemStack.EMPTY` or air), null, or still initializing. Only trigger when the displayed item is a valid, non-empty item that strictly matches Heavy Core or Enchanted Golden Apple (or other checked target items). - Add a configurable "Visual Sync Delay" slider (0 to 10 ticks, default 2 ticks) so the mod waits until the item model actually renders visibly inside the Vault before clicking, plus a 2-second cooldown after clicking so it never double-clicks. - When matched and Auto-Use is enabled, send a single right-click interaction packet (`PlayerInteractBlockC2SPacket`) and play a crisp chime sound. Include an "Auto Ping Compensation" toggle and a manual "Timing Offset" slider (-100ms to +100ms in 5ms steps). Modern GUI & Reliable Access: - Provide 3 ways to open the dark-themed, modern configuration GUI: 1. Register a Fabric KeyBinding under "VaultTimer" with default key RIGHT_SHIFT. 2. Register a client-side chat command "/vaulttimer" that opens the GUI directly. 3. Integrate ModMenuApi so clicking Configure in Mod Menu opens the GUI. - Inside the GUI, include checkboxes for Heavy Core, Enchanted Golden Apple, Wind Burst enchanted book, Flow Armor Trim, Bolt Armor Trim, and Creator Music Disc, plus toggles for Auto-Use, Ominous Mode, Auto Ping Compensation, and HUD Overlay. - Render a clean floating HUD overlay when looking at a Vault showing the exact name of the currently rendered item, match status, and ping.