1.0.0
Compatibility
Changes
🛡️ Be My Sword ⚔️ Features (Version 1)
- Guardians spawn naturally in villages (2–4 per village)
- Start at Level 1 with 20 health
- Can be recruited using Golden Apples (33% success chance per attempt)
Have their own inventory system, including:
- Health
- Level & experience bar
- Equipment slots (armor, weapons, shields)
Gain experience by killing enemies and level up over time
Stats such as health, strength, speed, and inventory capacity scale with level
Can eat food from their inventory when not in combat
Will follow the player by default
Use Ctrl + Right Click to toggle stay/follow behavior
Can reproduce using Golden Melons (only between male and female guardians)
🧠 AI Behavior
Guardians are designed to act as smart companions:
Assist in combat when engaged
Grow stronger through experience
Manage their own survival by eating when needed
⚠️ Known Issues
Guardians may not appear immediately after world load (reload the world to fix)
Right-click input may remain “stuck” after opening their menu
Guardians do not attack until the player has taken damage
🚧 Work in Progress (Version 2)
Fix all known bugs
Add dialogue system for non-recruited guardians
Display detailed stats in the guardian menu
Add custom houses for guardians in villages
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:pbDn7pil:BRunxTrG"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:pbDn7pil:BRunxTrG"
}

