Uses of Interface
org.bukkit.damage.DamageSource.Builder
Packages that use DamageSource.Builder
Package
Description
Classes concerning damage types and sources applicable to living entities.
-
Uses of DamageSource.Builder in io.papermc.paper
Methods in io.papermc.paper that return DamageSource.BuilderModifier and TypeMethodDescriptionInternalAPIBridge.createDamageSourceBuilder(DamageType damageType) -
Uses of DamageSource.Builder in org.bukkit.damage
Methods in org.bukkit.damage that return DamageSource.BuilderModifier and TypeMethodDescriptionstatic @NotNull DamageSource.BuilderDamageSource.builder(@NotNull DamageType damageType) Create a newDamageSource.Builder.DamageSource.Builder.withCausingEntity(@NotNull Entity entity) Set theEntitythat caused the damage.DamageSource.Builder.withDamageLocation(@NotNull Location location) Set theLocationof the source of damage.DamageSource.Builder.withDirectEntity(@NotNull Entity entity) Set theEntitythat directly inflicted the damage.