getEntity

public final Entity getEntity()(source)

Parameters

entity

The target entity. Is null, if blockEntity is not null