You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
626 B
29 lines
626 B
package me.kaZep.Base;
|
|
|
|
import java.util.UUID;
|
|
|
|
import org.bukkit.Bukkit;
|
|
|
|
public class EntityInteractData {
|
|
UUID entityid;
|
|
String entityowner;
|
|
long removetime;
|
|
public EntityInteractData(UUID id, String owner) {
|
|
this.entityid=id;
|
|
this.entityowner=owner;
|
|
removetime=Bukkit.getWorld("world").getFullTime()+3000;
|
|
}
|
|
public long getTime() {
|
|
return removetime;
|
|
}
|
|
public String getOwner() {
|
|
return entityowner;
|
|
}
|
|
public UUID getID() {
|
|
return entityid;
|
|
}
|
|
public void setOwner(String owner) {
|
|
this.entityowner=owner;
|
|
removetime=Bukkit.getWorld("world").getFullTime()+3000;
|
|
}
|
|
}
|
|
|