more epic stuff

This commit is contained in:
batchprogrammer314
2021-07-19 17:35:28 -05:00
parent d37d063c88
commit bf6b98c49f
13 changed files with 573 additions and 152 deletions

View File

@@ -0,0 +1,26 @@
package net.nuggetmc.ai.bot.event;
import net.nuggetmc.ai.bot.Bot;
public class BotFallDamageEvent {
private final Bot bot;
private boolean isCancelled;
public BotFallDamageEvent(Bot bot) {
this.bot = bot;
}
public Bot getBot() {
return bot;
}
public void cancel() {
isCancelled = true;
}
public boolean isCancelled() {
return isCancelled;
}
}