Uses of Interface
org.bukkit.damage.DamageSource.Builder
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes concerning damage types and sources applicable to living entities.
-
Uses of DamageSource.Builder in org.bukkit
Modifier and TypeMethodDescriptionUnsafeValues.createDamageSourceBuilder
(@NotNull DamageType damageType) Deprecated.Create a newDamageSource.Builder
. -
Uses of DamageSource.Builder in org.bukkit.damage
Modifier and TypeMethodDescriptionstatic @NotNull DamageSource.Builder
DamageSource.builder
(@NotNull DamageType damageType) Create a newDamageSource.Builder
.DamageSource.Builder.withCausingEntity
(@NotNull Entity entity) Set theEntity
that caused the damage.DamageSource.Builder.withDamageLocation
(@NotNull Location location) Set theLocation
of the source of damage.DamageSource.Builder.withDirectEntity
(@NotNull Entity entity) Set theEntity
that directly inflicted the damage.