Class EntityAction

    • Constructor Detail

      • EntityAction

        public EntityAction​(long tickNumber,
                            Entity entity)
        Create an entity action.
        Parameters:
        tickNumber - the tick the action happened at
        entity - the entity that caused the action
    • Method Detail

      • getEntity

        public Entity getEntity()
        Returns:
        the entity that caused this action.