public class KillEntityMethod extends java.lang.Object implements EntityMethod
EntityContainer.killEntity(UUID).KillEntity,
KillEntityFunction| Constructor and Description |
|---|
KillEntityMethod()
Creates a new kill entity method.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.function.Supplier<java.util.UUID> |
getIDSupplier()
Gets the entity ID supplier.
|
java.lang.Object |
invoke(java.lang.Object proxy,
Entity entity,
java.lang.Object[] args)
This will invoke the desired functionality for this method using the proxy, entity and
supplied arguments.
|
void |
setIDSupplier(java.util.function.Supplier<java.util.UUID> idSupplier)
Sets the entity ID supplier.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDependenciespublic java.util.function.Supplier<java.util.UUID> getIDSupplier()
public java.lang.Object invoke(java.lang.Object proxy,
Entity entity,
java.lang.Object[] args)
throws java.lang.Throwable
EntityMethodinvoke in interface EntityMethodproxy - Possible proxy of entity type.entity - Entity this proxy is for.args - Supplied arguments to the original method.java.lang.Throwable - If the invocation caused an exception.public void setIDSupplier(java.util.function.Supplier<java.util.UUID> idSupplier)
idSupplier - ID supplier.