terbop

make me a minecraft mod that gives me 3.33 block reach and name it potions extended with no description

Kodari AI
KodariMay 3 at 5:05 pm 3,849 (v2)

I’ll create a plugin that modifies player reach distance. Note: This is a plugin (server-side), not a mod (client-side). The plugin will use Minecraft’s attribute system to set reach distance.

PotionsExtended
Modifies player block and entity interaction reach distance to 3.33 blocks using attribute modifiers.

Plugin created. Sets player block and entity interaction reach to exactly 3.33 blocks on join. Requires Paper 1.20.5+ for the reach attributes to work.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
4 90
src/main/java/com/potionsextended/PotionsExtended.java
package com.potionsextended;

import org.bukkit.plugin.java.JavaPlugin;

public class PotionsExtended extends JavaPlugin {

    @Override
    public void onEnable() {
        getServer().getPluginManager().registerEvents(new ReachListener(this), this);
        getLogger().info("PotionsExtended enabled - 3.33 block reach active");
    }

    @Override
    public void onDisable() {
        getLogger().info("PotionsExtended disabled");
    }
}