Archive eaglercraft-archive-resent-3-3-source (source, 1.8.8, clean)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package dev.resent.event.impl;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
|
||||
public class EventAttack extends Event{
|
||||
public Entity target;
|
||||
public boolean cancelled;
|
||||
|
||||
public EventAttack(Entity target) { this.target = target; }
|
||||
|
||||
@Override
|
||||
public boolean isCancelled() { return cancelled; }
|
||||
@Override
|
||||
public void setCancelled(boolean cancelled) { this.cancelled = cancelled; }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user