Download DabaoSword — Minecraft Mods — MetaMods
DabaoSword

DabaoSword

Active

Downloads

18

Last update

2 months ago

Versions

1.20 — 1.21.7
Client and server
Fabric
Neoforge
Weapons and armor
Addons

DabaoSword Mod

This mod brings elements from the popular game "Legends of Three Kingdoms" into the world of Minecraft, adding card mechanics and multiplayer modes that significantly enrich gameplay in both survival and PvP battles.

Main Features

Identity Mode (v0.6)

An asymmetric PvP mode for three teams, inspired by "Legends of Three Kingdoms". To start a game, use the /dabaosword command or the Left Ctrl + M key combination (if the hotkey is occupied, try pressing it in the chat window). Through the appeared menu, you can create a new game, review the rules, and select a mode.

When creating a match, the system automatically invites all players within a 20-block radius (configurable distance) who are not participating in other battles. A minimum of two participants is required to start. After successful creation, a 10-second countdown begins, during which any player can decline participation through an option in the chat.

Identity Mode Rules:

  • Team Assignment: At the start of the game, each player randomly receives a hidden role. With three or more participants, half (rounded down) become Rebels, one becomes a Turncoat, and the rest become Ministers.
  • Team Lives: Players respawn until the team's total lives are exhausted. Rebels have an average of 3 lives per player. The total number of lives for Ministers and the Turncoat equals the total lives of the Rebels.
  • Scoring System: Ministers earn 1 point for killing a Rebel, Rebels earn 1 point for killing a Minister. The Turncoat earns points for eliminating either Ministers or Rebels. Killing allies or the Turncoat does not yield points.
  • Victory Conditions: When all members of either the Ministers or Rebels team are eliminated, the remaining team wins. If the Turncoat and another team remain, the side with more points wins. If points are equal, the game continues until the Turncoat earns a point (Turncoat wins) or dies (other team wins).
  • Timeout Rule: If no points are scored for an extended period, the game forcibly ends. The team with the most points wins; otherwise, there is no winner.

Card Acquisition Mechanics

  • Killing hostile mobs has a small chance (0.1) to grant a card. Killing a player guarantees 1 card and restores health to 20.
  • A card deck can be crafted from paper and black dye. When equipped in the corresponding accessory slot, it automatically gives 2 cards per minute in survival and adventure modes until the number of cards in the inventory exceeds the player's maximum health. The deck can also store cards — details in the item tooltip.
  • In the interface opened with Left Ctrl + K, pressing Delete allows discarding cards. Discarding 3 cards grants 1 new card.

Card Probabilities and Usage

A standard deck of 160 cards is implemented. When depleted, the deck automatically shuffles and restores to 160 cards without affecting already acquired cards.

  • Basic cards automatically activate in specific situations. "Dodge," "Peach," and "Wine" can also be used manually via right-click.
  • Important: The "Slash" card triggers automatically only when on the hotbar or in the offhand.
  • Scroll cards must be held in hand and activated with right-click.
  • Equipment cards only work when equipped in the accessory slot. Equipment cannot be manually removed — right-clicking with a new equipment item replaces the current one.

Skill Acquisition and Usage

Upon first entering the world, the player receives one skill. Every 5 minutes, the skill can be changed by holding the new skill in the offhand and using it while sneaking.

Additionally, throwing 64 emeralds to a Nitwit villager creates a gift box. Holding gold ingots or blocks in the offhand while opening the box increases the chance of obtaining a skill (use multiple gold blocks for maximum probability).

All skills require equipping in a special slot for activation!

  • Active skills are activated with the J key (configurable) when conditions are met. With multiple active skills, holding the key allows selecting a priority skill.
  • Passive skills trigger automatically when conditions are met.
  • Due to the absence of a turn-based system in Minecraft, skills have usage limitations with shared or individual cooldowns.

Additional Features

  • All items and skills from "Legends of Three Kingdoms" (weapons, armor, horses) require equipping in special accessory slots. Items in skill and deck slots do not drop upon death.
  • Equipping skills and gear notifies all players.
  • The command /dabaosword info <player> shows the target player's equipment and skills. The Left Ctrl + I combination quickly shows information about the nearest player.
  • After death, all cards are cleared (even with keepInventory enabled). Upon respawn, the player receives "Slash," "Dodge," "Peach" cards, and one random card.

Configurable Game Rules

  • card_pile_hungerless: Prevents hunger decrease when the deck is equipped (default off).
  • clear_cards_after_death: Whether to clear all cards after death (default on). When disabled, cards drop upon death, and no new cards are given upon respawn.
  • give_card_interval: Interval for automatic card distribution (in seconds). Default is 2 cards every 60 seconds, minimum 1 second.
  • change_skill_interval: Skill change interval (in seconds). Default is 5 minutes. Value -1 disables skill changing.
  • enable_cards_limit: Whether to limit automatic card distribution when the number of cards exceeds the player's maximum health (default on).
Project members
amotassic

amotassic

Developer

Created: 8 Apr 2024

ID: 8806