T

Make it so that infinity makes items like enchanted golden apples, totems, etc infinite. Channeling and riptide and anything to do with rain or water should be able to work without rain or water, when you have riptide on a item you should be able to choose when to release. Add cool animations for all of this.

Kodari AI
KodariNov 6 at 3:45 pm 6
  1. Make Infinity preserve consumable items, including enchanted golden apples and totems.

  2. Remove rain and water requirements for Channeling and Riptide, with player-controlled Riptide release.

  3. Add visual effects for the new mechanics.

  • Infinity now replenishes enchanted consumables and totems after use, with a particle effect.

  • Riptide works without water or rain, including on tridents. Right-click to charge, then right-click again when ready to launch.

  • Channeling strikes on melee and thrown-trident hits without requiring a thunderstorm or open sky. Riptide also has charge and launch effects.

Other water-specific enchantments, such as Depth Strider, still retain their normal environmental behavior.

T

Make it so that if you have curse of binding on a item, if you die you keep that item. Make it so that if you have loyalty on a bow the arrow comes back to you after landing/hitting something. Make it so that if you have loyalty and accidentally drop something with loyalty on it it doesnt let you drop it, make very cool animations for every enchantment. make sure there are no errors.

Kodari AI
KodariNov 6 at 3:51 pm 3
  1. Keep Curse of Binding items through death.

  2. Return Loyalty bow arrows after they hit or land.

  3. Prevent dropping items enchanted with Loyalty.

  4. Add enchantment animations and check the changes for errors.

  • Binding Curse items are kept on death.

  • Loyalty bows recall arrows after impact; Infinity arrows don’t create extra ammunition.

  • Loyalty items can’t be manually dropped.

  • Added enchantment particle effects and Loyalty return animations.

I checked the relevant Paper API signatures, but couldn’t run an in-game test here.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
README.md
settings.gradle
Code
8 977
src/main/java/com/kodari/enchain/EnchainPlugin.java
package com.kodari.enchain;

import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public final class EnchainPlugin extends JavaPlugin {
    private EnchantListener listener;
    private SwordVolley swordVolley;

    @Override
    public void onEnable() {
        EnchantCommand command = new EnchantCommand();
        getCommand("enchain").setExecutor(command);
        getCommand("enchain").setTabCompleter(command);
        listener = new EnchantListener(this);
        Bukkit.getPluginManager().registerEvents(listener, this);
        swordVolley = new SwordVolley(this);
        Bukkit.getPluginManager().registerEvents(swordVolley, this);
    }

    @Override
    public void onDisable() {
        if (listener != null) listener.close();
        if (swordVolley != null) swordVolley.close();
    }
}