crwdns118109:0crwdne118109:0

crwdns118111:0crwdne118111:0

crwdns118113:0crwdne118113:0

crwdns118115:0:javadoc:crwdne118115:0

crwdns118117:0crwdne118117:0

crwdns118119:0crwdne118119:0

crwdns118121:0:javadoc:crwdne118121:0

crwdns118123:0crwdne118123:0

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

crwdns118125:0:javadoc:crwdnd118125:0:javadoc:crwdnd118125:0:javadoc:crwdne118125:0

crwdns118127:0:javadoc:crwdne118127:0

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

crwdns118129:0:javadoc:crwdnd118129:0:javadoc:crwdne118129:0

crwdns118131:0:javadoc:crwdnd118131:0:javadoc:crwdne118131:0

  • crwdns118133:0crwdne118133:0

  • crwdns118135:0crwdne118135:0

  • crwdns118137:0crwdne118137:0

crwdns118139:0crwdne118139:0

crwdns118141:0crwdne118141:0

crwdns118143:0crwdne118143:0

crwdns118145:0crwdne118145:0

crwdns118147:0:javadoc:crwdne118147:0

crwdns118149:0crwdne118149:0

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

crwdns118151:0:javadoc:crwdne118151:0

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

crwdns118153:0:javadoc:crwdne118153:0

crwdns118155:0crwdne118155:0

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

crwdns118157:0:javadoc:crwdne118157:0

crwdns118159:0:javadoc:crwdne118159:0

crwdns118161:0crwdne118161:0

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

crwdns118163:0:javadoc:crwdne118163:0

crwdns118165:0crwdne118165:0

crwdns118167:0crwdne118167:0

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

crwdns118169:0crwdne118169:0

crwdns118171:0crwdne118171:0

crwdns118173:0:javadoc:crwdnd118173:0:javadoc:crwdnd118173:0:javadoc:crwdne118173:0

crwdns118175:0:javadoc:crwdne118175:0

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

crwdns118177:0crwdne118177:0

crwdns118179:0crwdne118179:0

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

Note

crwdns118181:0crwdne118181:0