<divclass="inheritance"title="Inheritance Tree"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">java.lang.Object</a>
<divclass="inheritance"><ahref="../Event.html"title="class in org.bukkit.event">org.bukkit.event.Event</a>
<divclass="inheritance"><ahref="EntityEvent.html"title="class in org.bukkit.event.entity">org.bukkit.event.entity.EntityEvent</a>
<divclass="inheritance"><ahref="EntityDamageEvent.html"title="class in org.bukkit.event.entity">org.bukkit.event.entity.EntityDamageEvent</a>
<h2id="nested-classes-inherited-from-class-org.bukkit.event.entity.EntityDamageEvent">Nested classes/interfaces inherited from class org.bukkit.event.entity.<ahref="EntityDamageEvent.html"title="class in org.bukkit.event.entity">EntityDamageEvent</a></h2>
<code><ahref="EntityDamageEvent.DamageCause.html"title="enum class in org.bukkit.event.entity">EntityDamageEvent.DamageCause</a>, <ahref="EntityDamageEvent.DamageModifier.html"title="enum class in org.bukkit.event.entity">EntityDamageEvent.DamageModifier</a></code></div>
<divclass="inherited-list">
<h2id="nested-classes-inherited-from-class-org.bukkit.event.Event">Nested classes/interfaces inherited from class org.bukkit.event.<ahref="../Event.html"title="class in org.bukkit.event">Event</a></h2>
<code><ahref="../Event.Result.html"title="enum class in org.bukkit.event">Event.Result</a></code></div>
</section>
</li>
<!-- =========== FIELD SUMMARY =========== -->
<li>
<sectionclass="field-summary"id="field-summary">
<h2>Field Summary</h2>
<divclass="inherited-list">
<h3id="fields-inherited-from-class-org.bukkit.event.entity.EntityEvent">Fields inherited from class org.bukkit.event.entity.<ahref="EntityEvent.html"title="class in org.bukkit.event.entity">EntityEvent</a></h3>
<divclass="col-constructor-name even-row-color"><code><ahref="#%3Cinit%3E(org.bukkit.block.Block,org.bukkit.entity.Entity,org.bukkit.event.entity.EntityDamageEvent.DamageCause,double)"class="member-name-link">EntityDamageByBlockEvent</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../../block/Block.html"title="interface in org.bukkit.block">Block</a> damager,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../entity/Entity.html"title="interface in org.bukkit.entity">Entity</a> damagee,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="EntityDamageEvent.DamageCause.html"title="enum class in org.bukkit.event.entity">EntityDamageEvent.DamageCause</a> cause,
double damage)</code></div>
<divclass="col-last even-row-color"> </div>
<divclass="col-constructor-name odd-row-color"><code><ahref="#%3Cinit%3E(org.bukkit.block.Block,org.bukkit.entity.Entity,org.bukkit.event.entity.EntityDamageEvent.DamageCause,java.util.Map,java.util.Map)"class="member-name-link">EntityDamageByBlockEvent</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../../block/Block.html"title="interface in org.bukkit.block">Block</a> damager,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../entity/Entity.html"title="interface in org.bukkit.entity">Entity</a> damagee,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="EntityDamageEvent.DamageCause.html"title="enum class in org.bukkit.event.entity">EntityDamageEvent.DamageCause</a> cause,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html"title="class or interface in java.util"class="external-link">Map</a><<ahref="EntityDamageEvent.DamageModifier.html"title="enum class in org.bukkit.event.entity">EntityDamageEvent.DamageModifier</a>,<wbr><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Double.html"title="class or interface in java.lang"class="external-link">Double</a>> modifiers,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html"title="class or interface in java.util"class="external-link">Map</a><<ahref="EntityDamageEvent.DamageModifier.html"title="enum class in org.bukkit.event.entity">EntityDamageEvent.DamageModifier</a>,<wbr>? extends <ahref="https://guava.dev/releases/31.0.1-jre/api/docs/com/google/common/base/Function.html"title="class or interface in com.google.common.base"class="external-link">Function</a><? super <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Double.html"title="class or interface in java.lang"class="external-link">Double</a>,<wbr><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Double.html"title="class or interface in java.lang"class="external-link">Double</a>>> modifierFunctions)</code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../../block/Block.html"title="interface in org.bukkit.block">Block</a></code></div>
<divclass="block">Returns the block that damaged the player.</div>
</div>
</div>
</div>
</div>
<divclass="inherited-list">
<h3id="methods-inherited-from-class-org.bukkit.event.entity.EntityDamageEvent">Methods inherited from class org.bukkit.event.entity.<ahref="EntityDamageEvent.html"title="class in org.bukkit.event.entity">EntityDamageEvent</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.event.entity.EntityEvent">Methods inherited from class org.bukkit.event.entity.<ahref="EntityEvent.html"title="class in org.bukkit.event.entity">EntityEvent</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.event.Event">Methods inherited from class org.bukkit.event.<ahref="../Event.html"title="class in org.bukkit.event">Event</a></h3>
<h3id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></h3>
<code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()"title="class or interface in java.lang"class="external-link">clone</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"title="class or interface in java.lang"class="external-link">equals</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()"title="class or interface in java.lang"class="external-link">finalize</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()"title="class or interface in java.lang"class="external-link">getClass</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()"title="class or interface in java.lang"class="external-link">hashCode</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()"title="class or interface in java.lang"class="external-link">notify</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()"title="class or interface in java.lang"class="external-link">notifyAll</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()"title="class or interface in java.lang"class="external-link">toString</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)"title="class or interface in java.lang"class="external-link">wait</a></code></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="element-name">EntityDamageByBlockEvent</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../../block/Block.html"title="interface in org.bukkit.block">Block</a> damager,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../entity/Entity.html"title="interface in org.bukkit.entity">Entity</a> damagee,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="EntityDamageEvent.DamageCause.html"title="enum class in org.bukkit.event.entity">EntityDamageEvent.DamageCause</a> cause,
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="element-name">EntityDamageByBlockEvent</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../../block/Block.html"title="interface in org.bukkit.block">Block</a> damager,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../entity/Entity.html"title="interface in org.bukkit.entity">Entity</a> damagee,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="EntityDamageEvent.DamageCause.html"title="enum class in org.bukkit.event.entity">EntityDamageEvent.DamageCause</a> cause,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html"title="class or interface in java.util"class="external-link">Map</a><<ahref="EntityDamageEvent.DamageModifier.html"title="enum class in org.bukkit.event.entity">EntityDamageEvent.DamageModifier</a>,<wbr><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Double.html"title="class or interface in java.lang"class="external-link">Double</a>> modifiers,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html"title="class or interface in java.util"class="external-link">Map</a><<ahref="EntityDamageEvent.DamageModifier.html"title="enum class in org.bukkit.event.entity">EntityDamageEvent.DamageModifier</a>,<wbr>? extends <ahref="https://guava.dev/releases/31.0.1-jre/api/docs/com/google/common/base/Function.html"title="class or interface in com.google.common.base"class="external-link">Function</a><? super <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Double.html"title="class or interface in java.lang"class="external-link">Double</a>,<wbr><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Double.html"title="class or interface in java.lang"class="external-link">Double</a>>> modifierFunctions)</span></div>
</section>
</li>
</ul>
</section>
</li>
<!-- ============ METHOD DETAIL ========== -->
<li>
<sectionclass="method-details"id="method-detail">
<h2>Method Details</h2>
<ulclass="member-list">
<li>
<sectionclass="detail"id="getDamager()">
<h3>getDamager</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../../block/Block.html"title="interface in org.bukkit.block">Block</a></span> <spanclass="element-name">getDamager</span>()</div>
<divclass="block">Returns the block that damaged the player.</div>