0.2.0 work in progress
This commit is contained in:
parent
08031c32ba
commit
c68631010d
24 changed files with 89 additions and 14 deletions
|
@ -7,7 +7,8 @@ public enum Category
|
|||
RENDER("Render", 0xFF5555FF),
|
||||
WORLD("World", 0xFF55FF55),
|
||||
PLAYER("Player", 0xFF00AAAA),
|
||||
CHAT("Chat", 0xFFFFAA00);
|
||||
CHAT("Chat", 0xFFFFAA00),
|
||||
SPECIAL("Special", 0xFFFFFFFF);
|
||||
|
||||
public String name;
|
||||
public int color;
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
package me.kawaiizenbo.moonlight.module.modules;
|
||||
|
||||
import me.kawaiizenbo.moonlight.module.Category;
|
||||
import me.kawaiizenbo.moonlight.module.Module;
|
||||
|
||||
public class Reach extends Module
|
||||
{
|
||||
public Reach()
|
||||
{
|
||||
super("Reach", "Extends player reach.", Category.PLAYER);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onEnable()
|
||||
{
|
||||
super.onEnable();
|
||||
// this will be completed in 1.20.5, as a new attribute will be added to make this trivial.
|
||||
// mc.player.getAbilities().
|
||||
}
|
||||
}
|
|
@ -9,10 +9,12 @@ import net.minecraft.util.math.Vec3d;
|
|||
|
||||
public class Speed extends Module
|
||||
{
|
||||
float oldSpeed;
|
||||
|
||||
DoubleSetting speed = new DoubleSetting("Speed", 2, 0.1, 10, 1);
|
||||
public Speed()
|
||||
{
|
||||
super("Speed", "Allows you to move faster.", Category.MOVEMENT);
|
||||
super("Speed", "Allows you to move faster. (Deprecated)", Category.MOVEMENT);
|
||||
settings.add(speed);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue