crwdns129073:0crwdne129073:0

crwdns129075:0crwdne129075:0

crwdns129077:0crwdne129077:0

crwdns129079:0:javadoc:crwdne129079:0

crwdns129081:0crwdne129081:0

crwdns129083:0crwdne129083:0

crwdns129085:0:javadoc:crwdne129085:0

crwdns129087:0crwdne129087:0

@Listener
@Exclude(InteractBlockEvent.Primary.class)
public void onInteract(InteractBlockEvent event) {
    // do something
}

crwdns129089:0:javadoc:crwdnd129089:0:javadoc:crwdnd129089:0:javadoc:crwdne129089:0

crwdns129091:0:javadoc:crwdne129091:0

@Listener
@Include({DamageEntityEvent.class, DestructEntityEvent.class})
public void onEvent(EntityEvent event) {
    // do something
}

crwdns129093:0:javadoc:crwdnd129093:0:javadoc:crwdne129093:0

crwdns129095:0:javadoc:crwdnd129095:0:javadoc:crwdne129095:0

  • crwdns129097:0crwdne129097:0

  • crwdns129099:0crwdne129099:0

  • crwdns129101:0crwdne129101:0

crwdns129103:0crwdne129103:0

crwdns129105:0crwdne129105:0

crwdns129107:0crwdne129107:0

crwdns129109:0crwdne129109:0

crwdns129111:0:javadoc:crwdne129111:0

crwdns129113:0crwdne129113:0

@Listener
public void onInteract(InteractBlockEvent.Secondary event, @First Player player) {
    // do something
}

crwdns129115:0:javadoc:crwdne129115:0

@Listener
public void onInteract(InteractBlockEvent.Secondary event, @Last Player player) {
    // do something
}

crwdns129117:0:javadoc:crwdne129117:0

crwdns129119:0crwdne129119:0

@Listener
public void onInteract(InteractBlockEvent.Secondary event, @Before(PluginContainer.class) Player player) {
    // do something
}

crwdns129121:0:javadoc:crwdne129121:0

crwdns129123:0:javadoc:crwdne129123:0

crwdns129125:0crwdne129125:0

@Listener
public void onInteract(InteractBlockEvent.Secondary event, @All(ignoreEmpty=false) Player[] players) {
    // do something
}

crwdns129127:0:javadoc:crwdne129127:0

crwdns129129:0:javadoc:crwdne129129:0

crwdns129131:0crwdne129131:0

@Listener
public void onInteract(InteractBlockEvent.Secondary event, @Named(NamedCause.OWNER) Player player) {
    // do something
}

crwdns129133:0crwdne129133:0

crwdns129135:0crwdne129135:0

@Listener
public void onInteract(InteractBlockEvent.Secondary event, @Getter("getUseItemResult") Tristate result) {
    // do something
}

crwdns129137:0crwdne129137:0

crwdns129139:0crwdne129139:0

crwdns129141:0:javadoc:crwdnd129141:0:javadoc:crwdnd129141:0:javadoc:crwdne129141:0

crwdns129143:0:javadoc:crwdne129143:0

@Listener
public void onInteract(InteractBlockEvent.Secondary event, @First @Supports(FlyingData.class) Entity entity) {
    // do something
}

crwdns129145:0crwdne129145:0

crwdns129147:0crwdne129147:0

@Listener
public void onInteract(InteractBlockEvent.Secondary event, @First @Has(FlyingData.class) Entity entity) {
    // do something
}

Note

crwdns129149:0crwdne129149:0