better entity events, untested
This commit is contained in:
1 parent
32dc6b17e8
commit
6505afdfdb
6 files changed
+100
-25
No files matched your search
@@ -3,13 +3,18 @@ package carpet.fakes;
|
||||
import carpet.script.CarpetContext;
|
||||
import carpet.script.CarpetEventServer;
|
||||
import carpet.script.ScriptHost;
|
||||
import carpet.script.value.Value;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface EntityInterface
|
||||
{
|
||||
float getMainYaw(float partialTicks);
|
||||
//scarpet part
|
||||
void onDeathCallback(String reason);
|
||||
void setDeathCallback(CarpetContext cc, String function);
|
||||
void setDeathCallback(CarpetContext cc, String function, List<Value> extraArgs);
|
||||
void onDamageCallback();
|
||||
void setDamageCallback(CarpetEventServer.ScheduledCall call);
|
||||
void setDamageCallback(CarpetContext cc, String function, List<Value> extraArgs);
|
||||
void onRemovedCallback();
|
||||
void setRemovedCallback(CarpetContext cc, String function, List<Value> extraArgs);
|
||||
}
|
||||
Reference in new issue
Block a user