make a mod where you make a tool for each planet in the solar system like "Staff of Neptune" "Trident of Mercury" and they each have 10 attack damage, each having a 2 seconds swing cooldown, and they each have a custom ability like for neptune you can send a wave of water that if it hits the other person it stuns them forcing them to stand still and cant move their camera for example. make it so also if you have any 9 of the custom tools you can craft them into the "Solar Staff". make sure each ability cooldown is 30 seconds and make the solar staff have an ability called Complete Cataclysm, which sends a meteor to crash on the enemy which does a lot of damage but has a 60 second cooldown and make the sun staff also do 12 damage and 1 and a half second swing cooldown. make sure it works on fabric minecraft 26.2. make them all recoloured tridents to fit the colour of the planet and give them a glint of what their planet is
Create a Fabric 1.21.11 mod project with the nine planetary tools, recipes, models, textures, and item registration.
Implement 10-damage tools with per-item 2-second attack cooldowns and 30-second custom ability cooldowns.
Implement Neptune’s water-wave stun and the Solar Staff’s 60-second Complete Cataclysm meteor ability.
Add the nine-tool Solar Staff recipe plus the Sun Staff’s 12 damage and 1.5-second attack cooldown.
The project is targeting the verified Fabric/Yarn 1.21.11 toolchain; Minecraft 26.2 is not compatible with Yarn 1.21.11, so the generated build uses the documented 1.21.11 versions. I’m correcting the attack-damage parameters and Yarn imports before finishing.1. Created a Fabric 1.21.11/Yarn mod project named Solar Tools. 2. Added planetary tools:
Trident of Mercury
Staffs of Venus, Earth, Mars, Jupiter, Saturn, Uranus, and Neptune
Sun Staff
Solar Staff
Added recolored, always-glinting trident-style item models.
Added 10 attack damage to planetary tools and 12 attack damage to the Sun Staff.
Added 2-second attack cooldowns for planetary tools and a 1.5-second cooldown for the Sun Staff.
Added 30-second ability cooldowns, except the Solar Staff’s 60-second cooldown.
Implemented abilities including Neptune’s water-wave stun and the Solar Staff’s meteor-based Complete Cataclysm.
Added a shapeless recipe requiring all nine custom tools to craft the Solar Staff.
Added a dedicated Solar Tools creative tab and English translations.
The project targets Fabric Minecraft 1.21.11, because that is the verified Yarn-based version. Minecraft 26.2 uses a different, post-Yarn toolchain and is not compatible with the documented 1.21.11 setup.
The compilation failed with this error:
Compilation failed with 18 error(s):
ERROR in src/main/java/com/kodari/solartools/ModItems.java at line 6: cannot find symbol
import net.minecraft.item.ToolMaterials;
^
symbol: class ToolMaterials
location: package net.minecraft.item
ERROR in src/main/java/com/kodari/solartools/PlanetToolItem.java at line 33: incompatible types: PlanetToolItem cannot be converted to ItemStack
if (user.getItemCooldownManager().isCoolingDown(this)) {
^
ERROR in src/main/java/com/kodari/solartools/PlanetToolItem.java at line 37: no suitable method found for set(PlanetToolItem,int)
user.getItemCooldownManager().set(this,
^
ERROR in src/main/java/com/kodari/solartools/PlanetToolItem.java at line 40: isClient has private access in World
if (!world.isClient && user instanceof ServerPlayerEntity serverPlayer
^
ERROR in src/main/java/com/kodari/solartools/ModItems.java at line 43: cannot find symbol
.sword(ToolMaterials.NETHERITE, attackDamage - 5.0f, attackSpeed)
^
symbol: variable ToolMaterials
location: class ModItems
ERROR in src/main/java/com/kodari/solartools/ModAbilities.java at line 88: cannot find symbol
Vec3d wave = user.getPos().add(user.getRotationVec(1.0f).multiply(6.0));
^
symbol: method getPos()
location: variable user of type ServerPlayerEntity
ERROR in src/main/java/com/kodari/solartools/ModAbilities.java at line 123: cannot find symbol
Vec3d center = entity.getPos().add(0.0, entity.getHeight() * 0.5, 0.0);
^
symbol: method getPos()
location: variable entity of type LivingEntity
ERROR in src/main/java/com/kodari/solartools/ModAbilities.java at line 158: cannot find symbol
Vec3d impact = target == null ? blockTarget(user, 24.0) : target.getPos();
^
symbol: method getPos()
location: variable target of type LivingEntity
ERROR in src/main/java/com/kodari/solartools/ModAbilities.java at line 164: incompatible types: HitResult cannot be converted to BlockHitResult
BlockHitResult hit = user.raycast(range, 1.0f, false);
^
ERROR in src/main/java/com/kodari/solartools/PlanetToolItem.java at line 37: no suitable method found for set(PlanetToolItem,int)
user.getItemCooldownManager().set(this,
^
ERROR in src/main/java/com/kodari/solartools/PlanetToolItem.java at line 33: incompatible types: PlanetToolItem cannot be converted to ItemStack
if (user.getItemCooldownManager().isCoolingDown(this)) {
^
ERROR in src/main/java/com/kodari/solartools/ModAbilities.java at line 164: incompatible types: HitResult cannot be converted to BlockHitResult
BlockHitResult hit = user.raycast(range, 1.0f, false);
^
ERROR in src/main/java/com/kodari/solartools/ModItems.java at line 6: cannot find symbol
import net.minecraft.item.ToolMaterials;
^
symbol: class ToolMaterials
location: package net.minecraft.item
ERROR in src/main/java/com/kodari/solartools/ModItems.java at line 43: cannot find symbol
.sword(ToolMaterials.NETHERITE, attackDamage - 5.0f, attackSpeed)
^
symbol: variable ToolMaterials
location: class ModItems
ERROR in src/main/java/com/kodari/solartools/PlanetToolItem.java at line 40: isClient has private access in World
if (!world.isClient && user instanceof ServerPlayerEntity serverPlayer
^
ERROR in src/main/java/com/kodari/solartools/ModAbilities.java at line 88: cannot find symbol
Vec3d wave = user.getPos().add(user.getRotationVec(1.0f).multiply(6.0));
^
symbol: method getPos()
location: variable user of type ServerPlayerEntity
ERROR in src/main/java/com/kodari/solartools/ModAbilities.java at line 123: cannot find symbol
Vec3d center = entity.getPos().add(0.0, entity.getHeight() * 0.5, 0.0);
^
symbol: method getPos()
location: variable entity of type LivingEntity
ERROR in src/main/java/com/kodari/solartools/ModAbilities.java at line 158: cannot find symbol
Vec3d impact = target == null ? blockTarget(user, 24.0) : target.getPos();
^
symbol: method getPos()
location: variable target of type LivingEntity
=== COMPILATION ERROR ANALYSIS ===
MISSING CLASSES:
- ToolMaterials
ACTION: Create these classes or check imports
MISSING METHODS:
- getPos()
ACTION: Check method names and signatures
TYPE MISMATCHES:
- incompatible types: PlanetToolItem cannot be converted to ItemStack
- incompatible types: HitResult cannot be converted to BlockHitResult
- incompatible types: PlanetToolItem cannot be converted to ItemStack
- incompatible types: HitResult cannot be converted to BlockHitResult
ACTION: Fix variable types or casting
FILES TO INVESTIGATE:
- src/main/java/com/kodari/solartools/ModItems.java
- src/main/java/com/kodari/solartools/PlanetToolItem.java
- src/main/java/com/kodari/solartools/ModAbilities.java
- src/main/java/com/kodari/solartools/PlanetToolItem.java
- src/main/java/com/kodari/solartools/ModAbilities.java
- src/main/java/com/kodari/solartools/ModItems.java
Please fix this error by creating a new artifact with the corrected code.
Replace the removed
ToolMaterialsimport/API with 1.21.11’sToolMaterial.Pass the held
ItemStackto the cooldown manager and useWorld.isClient().Replace removed position getters and accept the generic
HitResultreturned byraycast().
Fixed the compilation errors in the new artifact:
Replaced removed
ToolMaterialswith 1.21.11’sToolMaterial.Updated sword settings to
.applySwordSettings(...).Changed item cooldown calls to use the held
ItemStack.Replaced
world.isClientwithworld.isClient().Replaced removed
getPos()calls with coordinate-basedVec3dconstruction.Changed raycast handling from
BlockHitResultto the returnedHitResult.
Updated files:
ModItems.javaPlanetToolItem.javaModAbilities.java
The compilation failed with this error:
Compilation failed with 18 error(s):
ERROR in src/main/java/com/kodari/solartools/ModItems.java at line 6: cannot find symbol
import net.minecraft.item.ToolMaterials;
^
symbol: class ToolMaterials
location: package net.minecraft.item
ERROR in src/main/java/com/kodari/solartools/PlanetToolItem.java at line 33: incompatible types: PlanetToolItem cannot be converted to ItemStack
if (user.getItemCooldownManager().isCoolingDown(this)) {
^
ERROR in src/main/java/com/kodari/solartools/PlanetToolItem.java at line 37: no suitable method found for set(PlanetToolItem,int)
user.getItemCooldownManager().set(this,
^
ERROR in src/main/java/com/kodari/solartools/PlanetToolItem.java at line 40: isClient has private access in World
if (!world.isClient && user instanceof ServerPlayerEntity serverPlayer
^
ERROR in src/main/java/com/kodari/solartools/ModItems.java at line 43: cannot find symbol
.sword(ToolMaterials.NETHERITE, attackDamage - 5.0f, attackSpeed)
^
symbol: variable ToolMaterials
location: class ModItems
ERROR in src/main/java/com/kodari/solartools/ModAbilities.java at line 88: cannot find symbol
Vec3d wave = user.getPos().add(user.getRotationVec(1.0f).multiply(6.0));
^
symbol: method getPos()
location: variable user of type ServerPlayerEntity
ERROR in src/main/java/com/kodari/solartools/ModAbilities.java at line 123: cannot find symbol
Vec3d center = entity.getPos().add(0.0, entity.getHeight() * 0.5, 0.0);
^
symbol: method getPos()
location: variable entity of type LivingEntity
ERROR in src/main/java/com/kodari/solartools/ModAbilities.java at line 158: cannot find symbol
Vec3d impact = target == null ? blockTarget(user, 24.0) : target.getPos();
^
symbol: method getPos()
location: variable target of type LivingEntity
ERROR in src/main/java/com/kodari/solartools/ModAbilities.java at line 164: incompatible types: HitResult cannot be converted to BlockHitResult
BlockHitResult hit = user.raycast(range, 1.0f, false);
^
ERROR in src/main/java/com/kodari/solartools/PlanetToolItem.java at line 37: no suitable method found for set(PlanetToolItem,int)
user.getItemCooldownManager().set(this,
^
ERROR in src/main/java/com/kodari/solartools/PlanetToolItem.java at line 33: incompatible types: PlanetToolItem cannot be converted to ItemStack
if (user.getItemCooldownManager().isCoolingDown(this)) {
^
ERROR in src/main/java/com/kodari/solartools/ModAbilities.java at line 164: incompatible types: HitResult cannot be converted to BlockHitResult
BlockHitResult hit = user.raycast(range, 1.0f, false);
^
ERROR in src/main/java/com/kodari/solartools/ModItems.java at line 6: cannot find symbol
import net.minecraft.item.ToolMaterials;
^
symbol: class ToolMaterials
location: package net.minecraft.item
ERROR in src/main/java/com/kodari/solartools/ModItems.java at line 43: cannot find symbol
.sword(ToolMaterials.NETHERITE, attackDamage - 5.0f, attackSpeed)
^
symbol: variable ToolMaterials
location: class ModItems
ERROR in src/main/java/com/kodari/solartools/PlanetToolItem.java at line 40: isClient has private access in World
if (!world.isClient && user instanceof ServerPlayerEntity serverPlayer
^
ERROR in src/main/java/com/kodari/solartools/ModAbilities.java at line 88: cannot find symbol
Vec3d wave = user.getPos().add(user.getRotationVec(1.0f).multiply(6.0));
^
symbol: method getPos()
location: variable user of type ServerPlayerEntity
ERROR in src/main/java/com/kodari/solartools/ModAbilities.java at line 123: cannot find symbol
Vec3d center = entity.getPos().add(0.0, entity.getHeight() * 0.5, 0.0);
^
symbol: method getPos()
location: variable entity of type LivingEntity
ERROR in src/main/java/com/kodari/solartools/ModAbilities.java at line 158: cannot find symbol
Vec3d impact = target == null ? blockTarget(user, 24.0) : target.getPos();
^
symbol: method getPos()
location: variable target of type LivingEntity
=== COMPILATION ERROR ANALYSIS ===
MISSING CLASSES:
- ToolMaterials
ACTION: Create these classes or check imports
MISSING METHODS:
- getPos()
ACTION: Check method names and signatures
TYPE MISMATCHES:
- incompatible types: PlanetToolItem cannot be converted to ItemStack
- incompatible types: HitResult cannot be converted to BlockHitResult
- incompatible types: PlanetToolItem cannot be converted to ItemStack
- incompatible types: HitResult cannot be converted to BlockHitResult
ACTION: Fix variable types or casting
FILES TO INVESTIGATE:
- src/main/java/com/kodari/solartools/ModItems.java
- src/main/java/com/kodari/solartools/PlanetToolItem.java
- src/main/java/com/kodari/solartools/ModAbilities.java
- src/main/java/com/kodari/solartools/PlanetToolItem.java
- src/main/java/com/kodari/solartools/ModAbilities.java
- src/main/java/com/kodari/solartools/ModItems.java
Please fix this error by creating a new artifact with the corrected code.
Verify the current source and 1.21.11 API rules.
Correct the three reported files using the existing project’s actual method signatures.
Emit the repaired artifact without unrelated changes.
The three source files already contain the corrected 1.21.11 code:
ModItems.java: usesToolMaterial.NETHERITEandapplySwordSettings(...).PlanetToolItem.java: passes the heldItemStackto cooldown methods and usesworld.isClient().ModAbilities.java: replacesgetPos()with coordinate-basedVec3dconstruction and usesHitResult.
The displayed errors are from an older artifact. Rebuild using the current project files and ensure the compiler is not using a cached/stale source bundle.
The compilation failed with this error:
Compilation failed with 2 error(s):
ERROR in src/main/java/com/kodari/solartools/ModItems.java at line 43: cannot find symbol
.applySwordSettings(ToolMaterial.NETHERITE, attackDamage - 5.0f, attackSpeed)
^
symbol: method applySwordSettings(ToolMaterial,float,float)
location: class Settings
ERROR in src/main/java/com/kodari/solartools/ModItems.java at line 43: cannot find symbol
.applySwordSettings(ToolMaterial.NETHERITE, attackDamage - 5.0f, attackSpeed)
^
symbol: method applySwordSettings(ToolMaterial,float,float)
location: class Settings
=== COMPILATION ERROR ANALYSIS ===
MISSING METHODS:
- applySwordSettings(ToolMaterial,float,float)
ACTION: Check method names and signatures
FILES TO INVESTIGATE:
- src/main/java/com/kodari/solartools/ModItems.java
- src/main/java/com/kodari/solartools/ModItems.java
Please fix this error by creating a new artifact with the corrected code.
Replace the nonexistent applySwordSettings(...) call with the Yarn 1.21.11 Item.Settings.sword(...) method.
Fixed ModItems.java by replacing the nonexistent .applySwordSettings(...) call with the correct Yarn 1.21.11 API:
.sword(ToolMaterial.NETHERITE, attackDamage - 5.0f, attackSpeed)
The corrected artifact is ready to rebuild.
could you make it so every time an ability is used there is a visual effect with particles or whatever to make it seem cooler? add sfx too ofc and can you change sun attack damage and speed with solar's attack damage and speed? and can the solar staff have 2 abilities? 1 the meteor of course (can you also make the meteor visibly fall from the sky not just invisible) and 2 if you shift and crouch to stun the other person and set them on fire
Ability feedback: add particles and sound effects to every ability.
Combat tuning: use Solar’s attack damage and speed for the sun attack.
Solar staff: keep meteor as ability one with a visible falling meteor, and add crouch-use stun/fire as ability two.
Implemented:
Added particle and sound feedback whenever any ability is activated.
Changed Sun Staff stats to match Solar Staff:
Attack damage:
10.0fAttack speed:
-3.5f
Solar Staff now has two abilities:
Normal use: launches a visible falling meteor with flame, lava, smoke, and firework particles before exploding.
Sneak/crouch use: stuns the targeted entity, sets it on fire, deals damage, and creates a solar particle/SFX effect.
Added impact sounds and enhanced meteor explosion effects.
Updated:
ModItems.javaModAbilities.java
could you also change trident of mercury to be called Mercury Staff and can you also make the Solar Staff now do 15 attack damage?
Rename the registered item and its visible language label to Mercury Staff.
Increase Solar Staff’s attack damage to 15 while preserving its existing attack speed.
Renamed the visible item name from Trident of Mercury to Mercury Staff.
Increased Solar Staff’s attack damage from 10 to 15, retaining its
-3.5attack speed.The registered item ID remains
trident_of_mercuryto avoid breaking existing item data.
can you make the earth staff have an earth quake ability which damages player and stuns them on top of the resistence it gives?
Inspect the Earth Staff registration and ability flow.
Add an Earthquake ability that damages and stuns targeted players.
Preserve the Earth Staff’s existing resistance effect and update feedback effects if needed.
Added the Earth Staff earthquake ability while preserving its resistance effect.
Earth Staff now:
Heals the user.
Grants Resistance II.
Stuns the targeted entity.
Deals 8 damage to the target.
Creates cloud and smoke earthquake effects.
Plays a stone-breaking sound at the target.
Updated: src/main/java/com/kodari/solartools/ModAbilities.java
can you change ability cooldowns to 15
Inspect the current cooldown constants and conversions.
Set every ability cooldown to 15 seconds while preserving existing ability behavior.
Changed all ability cooldowns to 15 seconds (300 ticks), including both Solar Staff abilities.
Updated: src/main/java/com/kodari/solartools/PlanetToolItem.java
can the abilities on the solar staff have different cooldowns and can the earth staff visibly shake the ground
Give the Solar Staff’s meteor and stun abilities separate cooldown values.
Add a visible ground-shaking effect to the Earth Staff earthquake ability.
Solar Staff abilities now have separate cooldowns:
Meteor: 15 seconds
Crouch stun/fire ability: 8 seconds
Earth Staff’s earthquake now visibly shakes the ground with expanding rings of block fragments and cloud particles around the caster and target.
Existing Earth Staff resistance, damage, and stun behavior remains unchanged.
Updated:
PlanetToolItem.javaModAbilities.java
package com.kodari.solartools;
import net.fabricmc.api.ModInitializer;
public class SolarTools implements ModInitializer {
public static final String MOD_ID = "solartools";
@Override
public void onInitialize() {
ModItems.initialize();
ModItemGroups.initialize();
ModEvents.initialize();
}
}