Interface EntityDamageSource.EntityDamageSourceBuilder<T extends EntityDamageSource,B extends EntityDamageSource.EntityDamageSourceBuilder<T,B>>

All Superinterfaces:
AbstractBuilder<T>, Builder<T,B>, CopyableBuilder<T,B>, DamageSource.DamageSourceBuilder<T,B>, ResettableBuilder<T,B>
All Known Subinterfaces:
EntityDamageSource.Builder, FallingBlockDamageSource.Builder, IndirectEntityDamageSource.AbstractBuilder<T,B>, IndirectEntityDamageSource.Builder
All Known Implementing Classes:
AbstractEntityDamageSource.AbstractEntityDamageSourceBuilder, AbstractIndirectEntityDamageSource.AbstractIndirectEntityDamageSourceBuilder
Enclosing interface:
EntityDamageSource

public static interface EntityDamageSource.EntityDamageSourceBuilder<T extends EntityDamageSource,B extends EntityDamageSource.EntityDamageSourceBuilder<T,B>> extends DamageSource.DamageSourceBuilder<T,B>
  • Method Details

    • entity

      B entity(Entity entity)
      Sets the Entity as the damage "source".
      Parameters:
      entity - The entity
      Returns:
      This builder, for chaining