XoxoCraft 1.30.0
Curse Maven Snippet
What's new
What's New
- New
!swapcommand — swaps the positions (location, dimension and rotation) of two online players. Usage:!swap NAME1 NAME2— swaps those two specific players!swap NAME— swaps that player with a random other player!swap— swaps two random players- Requires at least 2 players online; if a named player is offline/invalid the command is cancelled with a chat warning. Cooldown 240s (🟠 high impact).
- 4 new chat commands (all targetable by name, and in the
!randompool):!vampire— lifesteal for 30s: every hit you land heals you for half the damage dealt. Cooldown 180s.!glass_cannon— for 60s you deal double damage but also take double damage. Cooldown 180s.!gravity— low gravity (moon jumps) for 30s via theGRAVITYattribute. Cooldown 120s.!gamble— bet the item in your main hand: 50% you win, 50% you lose it entirely. On a win, a stackable item doubles its stack (capped), while a weapon/armor/tool is fully repaired and gets a random enchantment instead. Cooldown 120s.
- 4 more chat commands (also targetable and in
!random):!earthquake— earthquake for 8s: random upward knockback shakes + Nausea + explosion sound. Cooldown 120s.!quicksand— quicksand for 6s: Slowness V + Mining Fatigue III and your jumps are cancelled. Cooldown 120s.!juggernaut— for 60s: Strength III + Resistance III but Slowness II (slow tank). Cooldown 180s.!butterfingers— for 30s the item in your main hand drops to the ground every 3s. Cooldown 180s.
- New event: King of the Hill — a new competitive shared-arena dimensional event (auto-event only, the 18th in the pool). A 25×25 arena with a central stepped hill (3×3 gold-block top). Every player gets a Knockback II stick to shove the others off; permanent Resistance means nobody dies (only the knockback applies). Stay on top of the hill to accumulate time; falling into the void respawns you at the edges. 5s warmup, 120s. Whoever holds the hill longest wins. Rewards: 0s→nothing · >0s→full health/food · ≥20s→+1 skip · winner⭐→+2 skip + KeepInventory 20 min. Requires ≥2 players (excluded from auto-event when solo).
Bug Fixes
- Chat Display Block text no longer disappears when you look away — the multi-block panel's text would stop rendering as soon as the anchor block left the view frustum (e.g. tilting your head down), even while part of the panel was still on screen. The renderer now reports an enlarged render bounding box (±9 blocks) and renders off-screen, so the chat stays visible as long as any part of the panel is.
Technical Changes
scheduleSwap(user, n1, n2)+pendingSwapqueue drained inonServerTick; the actual swap runs in the extracteddoSwap(server, entry)helper (keepsonServerTickunder the 64KB bytecode limit). Cross-dimensionteleportTo(level, x, y, z, Set.of(), yaw, pitch).- The new commands' drain + expiry/tick logic is extracted into
tickNewCommands(server)andtickNewCommands2(server)(to stay under the 64KB per-method bytecode limit). Per-player state viaConcurrentHashMap<UUID,Long>maps; vampire heal + glass-cannon double-taken hooked inonLivingIncomingDamage; glass-cannon double-dealt + low gravity via attribute modifiers (xoxocraft:glass_cannononATTACK_DAMAGE,xoxocraft:gravity_cmdonGRAVITY) removed on expiry; earthquake/quicksand/butterfingers apply periodic per-tick effects.
This mod has no additional files

