Commits
md_5 authored f19b8557a36
388 388 | * Sets the fall distance for this entity |
389 389 | * |
390 390 | * @param distance The new distance. |
391 391 | */ |
392 392 | public void setFallDistance(float distance); |
393 393 | |
394 394 | /** |
395 395 | * Record the last {@link EntityDamageEvent} inflicted on this entity |
396 396 | * |
397 397 | * @param event a {@link EntityDamageEvent} |
398 + | * @deprecated method is for internal use only |
398 399 | */ |
400 + | forRemoval = true) | (
399 401 | public void setLastDamageCause( EntityDamageEvent event); |
400 402 | |
401 403 | /** |
402 404 | * Retrieve the last {@link EntityDamageEvent} inflicted on this entity. |
403 405 | * This event may have been cancelled. |
404 406 | * |
405 407 | * @return the last known {@link EntityDamageEvent} or null if hitherto |
406 408 | * unharmed |
407 409 | */ |
408 410 | |