Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add czech translation. #2

Merged
merged 4 commits into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
87 changes: 45 additions & 42 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,54 +1,57 @@
# **LifeDrain**
[Features](#features) • [Configuration](#configuration) • [Translations](#translations-available) • [Requirements](#requirements)
# **🩸 LifeDrain**

**LifeDrain** adds a simple but powerful mechanic to Minecraft: stealing life from hostile mobs. Every time you attack, you’ll heal yourself based on the damage dealt, making combat a way to stay alive rather than just survive.
**LifeDrain** adds a simple but powerful mechanic to Minecraft: stealing life from hostile mobs. Every time you attack, you’ll heal yourself based on the damage dealt, making combat a way to stay alive rather than just survive. 🛡️✨

### Features:
### 🌟 Recommended mods that suit the mechanic:
- [RpgDifficulty](https://modrinth.com/mod/rpgdifficulty) - 🔥 Strengthen mobs over distance and/or time

### 🩸 Features:
- **Healing mechanics:**
- Base healing scales with the difficulty level:
- Easy: 2.0 HP
- Normal: 1.0 HP
- Hard: 0.5 HP
- Bonus healing based on the damage dealt: 20% of the damage dealt.
- Lifesteal cooldown is set to 1000 milliseconds (1 second) by default.
- **Client-Side Features:**
- **Particle Effects:** Enable or disable particle effects when healing is triggered. Particles are client-side, meaning they will only be visible on your screen.
- 🟢 Easy: 2.0 HP
- 🟡 Normal: 1.0 HP
- 🔴 Hard: 0.5 HP
- Bonus healing based on the damage dealt: 🪓 **20% of the damage dealt.**
- Lifesteal cooldown is set to **1000 milliseconds (1 second)** by default.
- **Client-Side Features:**
- **Particle Effects:** 🎇 Enable or disable particle effects when healing is triggered. Particles are client-side, meaning they will only be visible on your screen.
- **Client-Side Configuration Options:** Through **Cloth Config** and **Mod Menu**, you can customize particle effects, cooldown settings, and other features directly from the in-game settings menu.
- Applies only to hostile mobs, ensuring lifesteal is balanced and works as intended in combat.
- Applies only to hostile mobs, ensuring lifesteal is balanced and works as intended in combat. ⚔️

### ️Configuration:
- Customize healing values for different difficulty levels:
- Base healing for Easy, Normal, and Hard modes.
- Bonus healing multiplier based on the damage dealt.
### ⚙️ Configuration:
- **Server-Side Customization:**
- Customize healing values for different difficulty levels:
- 🟢 Base healing for Easy, Normal, and Hard modes.
- 🔧 Bonus healing multiplier based on the damage dealt.
- ⏳ Adjust the cooldown for lifesteal activation (time between consecutive lifesteal uses).
- **Client-Side Customization:**
- Enable or disable particle effects when healing is triggered (client-side only).
- Adjust the cooldown for lifesteal activation (time between consecutive lifesteal uses).
- Configuration options are accessible through **Cloth Config** and **Mod Menu**.
- All settings are saved to `lifedrain.json` and can be modified directly.
- The config file is automatically updated to add missing values if they are not found.
- 🎆 Enable or disable particle effects when healing is triggered (client-side only).
- 🔍 Configuration options are accessible through **Cloth Config** and **Mod Menu.**
- 📁 All settings are saved to `lifedrain.json` and can be modified directly.
- The config file is automatically updated to add missing values if they are not found. ✅
- Use the `/check_config` command to automatically check and update the config file if necessary.

### Translations Available:
### 🌐 Translations Available:
The mod is fully translated into the following languages:
- **English**
- **Polish**
- **Spanish (Mexico)**
- **Spanish**
- **Chinese (Simplified)**
- **Korean**
- **Russian**
- **German**
- **Japanese**
- **French**

This mod is lightweight and perfect for anyone who enjoys combat-focused gameplay or just wants a little extra survivability.

**Note:** Although the mod can be loaded in Minecraft `1.21.X`, it is not recommended. Attacking a hostile mob in versions other than `1.21` will cause your game to crash.

### Requirements:
- Fabric Loader 0.16.10
- Fabric API 0.102.0 (for Minecraft 1.21)
- Minecraft 1.21
- Java 21
- 🇺🇸 **English**
- 🇵🇱 **Polish**
- 🇲🇽 **Spanish (Mexico)**
- 🇪🇸 **Spanish**
- 🇨🇳 **Chinese (Simplified)**
- 🇰🇷 **Korean**
- 🇷🇺 **Russian**
- 🇩🇪 **German**
- 🇯🇵 **Japanese**
- 🇫🇷 **French**

This mod is lightweight and perfect for anyone who enjoys combat-focused gameplay or just wants a little extra survivability. ⚔️🛡️

**Note:** ⚠️ Although the mod can be loaded in Minecraft `1.21.X`, it is not recommended. Attacking a hostile mob in versions other than `1.21` will cause your game to crash.

### 🛠️ Requirements:
- 📦 Fabric Loader 0.16.10
- 🧩 Fabric API 0.102.0 (for Minecraft 1.21)
- 🖥️ Minecraft 1.21
- Java 21
- **Cloth Config 15.0.140** (Client-side, optional)
- **Mod Menu 11.0.3** (Client-side, optional)
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ yarn_mappings=1.21+build.9
loader_version=0.16.10

# Mod Properties
mod_version=1.0.4
mod_version=1.0.5
maven_group=vorlie.lifedrain
archives_base_name=lifedrain

Expand Down
16 changes: 16 additions & 0 deletions src/main/resources/assets/lifedrain/lang/cs_cz.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"config.lifedrain.title": "Nastavení pro Lifedrain",
"config.lifedrain.general": "Hlavní",
"config.lifedrain.enableParticles": "Zapnout Partikly",
"config.lifedrain.lifestealCooldown": "Cooldown na lifesteal (ms)",
"config.lifedrain.baseHealEasy": "Základní léčení (Jednoduchá Obtíž.)",
"config.lifedrain.baseHealNormal": "Základní léčení (Střední Obtíž.)",
"config.lifedrain.baseHealHard": "Základní léčení (Těžká Obtíž.)",
"config.lifedrain.bonusHealMultiplier": "Bonusový násobitel léčení",
"config.lifedrain.enableParticles.tooltip": "toto nastavení je pouze pro klient. Server jej může změnit. Ve hře pro jednoho hráče fungujou tyto nastavení.",
"config.lifedrain.lifestealCooldown.tooltip": "Cooldown pro stranu server, nastavení v klientu je ignorováno, ve hře pro jednoho hráče jsou použity tyto nastavení.",
"config.lifedrain.baseHealEasy.tooltip": "Server rozhoduje o základních hodnotách léčení, ve hře pro jednoho hráče je použita tato možnost.",
"config.lifedrain.baseHealNormal.tooltip": "Server rozhoduje o základních hodnotách léčení, ve hře pro jednoho hráče je použita tato možnost.",
"config.lifedrain.baseHealHard.tooltip": "Server rozhoduje o základních hodnotách léčení, ve hře pro jednoho hráče je použita tato možnost.",
"config.lifedrain.bonusHealMultiplier.tooltip": "Server rozhoduje o násobiteli léčení, ve hře pro jednoho hráče je použita tato možnost."
}
Loading