Add latest revisions after getting it functional
This commit is contained in:
parent
9653e273e4
commit
ffcecb8e8e
1443 changed files with 258988 additions and 6046 deletions
21
src/main/java/com/zontreck/events/CommandExecutionEvent.java
Normal file
21
src/main/java/com/zontreck/events/CommandExecutionEvent.java
Normal file
|
@ -0,0 +1,21 @@
|
|||
package com.zontreck.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