crwdns137671:0crwdne137671:0
crwdns137675:0crwdne137675:0
crwdns137677:0crwdne137677:0
crwdns137679:0:javadoc:crwdne137679:0
crwdns137681:0crwdne137681:0
crwdns137683:0crwdne137683:0
crwdns137685:0:javadoc:crwdne137685:0
crwdns137687:0crwdne137687:0
@Listener
@Exclude(InteractBlockEvent.Primary.class)
public void onInteract(InteractBlockEvent event) {
// do something
}
crwdns156857:0:javadoc:crwdnd156857:0:javadoc:crwdnd156857:0:javadoc:crwdne156857:0
crwdns137691:0:javadoc:crwdne137691:0
@Listener
@Include({DamageEntityEvent.class, DestructEntityEvent.class})
public void onEvent(TargetEntityEvent event) {
// do something
}
crwdns137693:0:javadoc:crwdnd137693:0:javadoc:crwdne137693:0
crwdns137695:0:javadoc:crwdnd137695:0:javadoc:crwdne137695:0
crwdns137697:0crwdne137697:0
crwdns137699:0crwdne137699:0
crwdns137701:0crwdne137701:0
crwdns137703:0crwdne137703:0
crwdns137705:0crwdne137705:0
crwdns137707:0crwdne137707:0
crwdns137709:0crwdne137709:0
crwdns137711:0:javadoc:crwdne137711:0
crwdns137713:0crwdne137713:0
@Listener
public void onInteract(InteractBlockEvent.Secondary event, @First Player player) {
// do something
}
crwdns137715:0:javadoc:crwdne137715:0
@Listener
public void onInteract(InteractBlockEvent.Secondary event, @Last Player player) {
// do something
}
crwdns137717:0:javadoc:crwdne137717:0
crwdns137719:0crwdne137719:0
@Listener
public void onInteract(InteractBlockEvent.Secondary event, @Before(PluginContainer.class) Player player) {
// do something
}
crwdns137721:0:javadoc:crwdne137721:0
crwdns137723:0:javadoc:crwdne137723:0
crwdns137725:0crwdne137725:0
@Listener
public void onInteract(InteractBlockEvent.Secondary event, @All(ignoreEmpty=false) Player[] players) {
// do something
}
crwdns137727:0:javadoc:crwdne137727:0
crwdns137729:0crwdne137729:0
crwdns137731:0crwdne137731:0
@Listener
public void onInteract(InteractBlockEvent.Secondary event, @Getter("getUseItemResult") Tristate result) {
// do something
}
crwdns137733:0crwdne137733:0
crwdns137735:0crwdne137735:0
crwdns137737:0:javadoc:crwdnd137737:0:javadoc:crwdnd137737:0:javadoc:crwdne137737:0
crwdns137739:0:javadoc:crwdne137739:0
@Listener
public void onInteract(InteractBlockEvent.Secondary event, @First @Supports(FlyingData.class) Entity entity) {
// do something
}
crwdns137741:0crwdne137741:0
crwdns137743:0crwdne137743:0
@Listener
public void onInteract(InteractBlockEvent.Secondary event, @First @Has(FlyingData.class) Entity entity) {
// do something
}
Note
crwdns137745:0crwdne137745:0