Block that was hit by the attack, or undefined if the hit
attack did not hit a block. If both hitEntity and hitBlock
are undefined, then the entity basically swiped into the
air.
Entity that was hit by the attack, or undefined if the hit
attack did not hit an entity. If both hitEntity and hitBlock
are undefined, then the entity basically swiped into the
air.
Contains information related to an entity hitting (melee attacking) another entity.