Fix back, migrate config to snbt, implement cooldowns
This commit is contained in:
parent
21c349ef3c
commit
ca869f6d2b
43 changed files with 953 additions and 189 deletions
|
@ -0,0 +1,20 @@
|
|||
package dev.zontreck.essentials.events;
|
||||
|
||||
import net.minecraft.world.entity.player.Player;
|
||||
import net.minecraftforge.eventbus.api.Cancelable;
|
||||
import net.minecraftforge.eventbus.api.Event;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
@Cancelable
|
||||
public class CommandExecutionEvent extends Event
|
||||
{
|
||||
public UUID playerID;
|
||||
public String command;
|
||||
|
||||
public CommandExecutionEvent(Player player, String cmd)
|
||||
{
|
||||
playerID=player.getUUID();
|
||||
command=cmd;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue