if i send you the altar smp plugin for paper 1.21.11 mc servers, can you take a few of the swords and their abilities and port it to fabric 26.2
Yes. Send the plugin’s source (and any sword textures or other assets), and tell me which swords and abilities you want ported. I can adapt them into a Fabric 26.2 mod; if you only have the compiled plugin, send it anyway, but the source will make the port more reliable.
so small problem i cant send the file because its too big
You don’t need to send the whole plugin. Send the files for just the swords you want to port and the code that implements their abilities—usually the item definitions, event listeners, and any helper classes they call. Start with one sword if that’s easiest.
If the files are still too large, paste only the relevant methods, or share a public repository link. Include any required plugin dependencies and describe what the ability should do in-game; I’ll help identify what else is needed as we go.
im sending a 143kb file but its still saying its too large
143 KB should normally be manageable, so it may be the upload limit or file type rather than the size. Try sending just the sword’s Java class and the ability/event-handler class, or paste the relevant code here in a few messages. If you’re not sure which files matter, send the plugin’s file list or the names of the swords you want first.
I'm porting the AltarSMP weapons from a Paper/Bukkit plugin to a newer Minecraft Fabric version. This ZIP contains compiled Java classes for Pure Blade, Bloodlust, Nightpiercer, Cutlass, and Bone Blade, plus shared ability utilities.
Please inspect and decompile the classes as needed, identify each weapon's abilities and mechanics, and help recreate them for Fabric. Do not assume Bukkit APIs will work on Fabric. Start by explaining what each weapon does and which classes are important before generating the new code.
I found the compiled classes in the workspace, but not the ZIP itself. I could inspect their embedded strings, but there’s no Java decompiler available here, so the details below are partial: ability names and several effects/config keys are visible, but exact triggers, timings, and values aren’t reliably recoverable from strings alone.
Pure Blade —
PureBladeListenercontains Cyclone Slash and Shade Soul. The class references sweep attacks, speed, and a Vex-charge sound; config keys include cooldowns, Shade Soul duration, and damage. The exact effects and which inputs activate each ability are unconfirmed.Bloodlust —
BloodlustListenercontains Blood Trail and Blood Hook, plus bleed/infection and kill-count handling. Trail-related strings include invisibility and duration; hook-related strings include range, damage, and pull strength. Exact bleed behavior and hook mechanics need bytecode or source to verify.Nightpiercer —
NightpiercerListenercontains Transformation and Crimson Bite. The class references invisibility, speed, nearby-entity damage, and health changes. The exact form of the transformation and bite values are unconfirmed.Cutlass —
CutlassListenercontains Parry and Thousand Cuts. Parry appears to block up to three attacks; the listener also references knockback, particles, sounds, and slowing. The exact Thousand Cuts behavior and ability triggers aren’t clear from the strings.Bone Blade —
BoneBladeListenercontains Bone Cage and Skeletal Leap. The class references a projectile/stun effect for Bone Cage and a velocity-based leap. Their exact ranges, durations, and activation conditions are unconfirmed.
The most important supporting classes are ItemManager (weapon identification and type, plus Bloodlust kill-count data) and CooldownManager (per-player ability cooldowns). AbilityBossBar appears to provide timed ability boss bars; ParticleUtil may hold shared visual effects, but I couldn’t establish its usage. RecipeManager is likely relevant to obtaining the weapons, but not to their ability mechanics.
I haven’t generated Fabric code yet. For a faithful port, send the five listener classes and the shared utilities as Java source or decompiled text—those files are enough to pin down the mechanics without sending the whole plugin.
ok where would i get the things you need me to send from
Look in the original plugin project or ZIP for these classes:
The weapon listener you want to start with, such as
PureBladeListener.classShared helpers it uses, especially
ItemManager.classandCooldownManager.classIf referenced by that listener:
AbilityBossBar.classandParticleUtil.class
If you have the plugin’s source project, they’re usually under src/main/java/ in a package folder. Send the .java files.
If you only have compiled .class files, open the ZIP and use a Java decompiler such as JD-GUI or IntelliJ IDEA: open the plugin JAR/ZIP, find the relevant class, view its decompiled code, and copy that text here. Avoid online decompilers if the plugin is private. If you find only a plugin .jar, open that with the decompiler instead.
Start with one weapon listener and the shared classes it references; you can paste them across several messages if needed. Include the package names and any config entries for that weapon if you find them.
{
"parent": "item/generated",
"textures": {
"layer0": "custom:item/copper_leggings"
}
}